Class StackedSeriesLookup
java.lang.Object
org.eclipse.birt.chart.computation.withaxes.StackedSeriesLookup
Implements a double lookup data structure for stacked series. It also
maintains a min/max value for each unit needed to build the scale.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StackedSeriesLookupcreate(ChartWithAxes cwa, RunTimeContext rtc) intgetSeriesCount(Axis ax) getStackGroup(Series se) getStackGroups(Axis ax) getSubUnit(StackGroup sg, int iUnitIndex) Returns an AxisUnit needed to 'remember' the position of the next stacked bar to be rendered.intvoid
-
Method Details
-
getStackGroups
-
getSeriesCount
-
getStackGroup
- Parameters:
se-- Returns:
- The stack group associated with a specified Series
-
getSubUnit
- Parameters:
sg-iUnitIndex-- Returns:
- An AxisUnit corresponding to a given stack group and specified unit index
-
getUnit
Returns an AxisUnit needed to 'remember' the position of the next stacked bar to be rendered. If a series is not 'stackable' or not 'set as stacked', this method will return 'null'.- Parameters:
ax-se-iUnitIndex-- Returns:
- unit
-
resetSubUnits
public void resetSubUnits() -
create
public static StackedSeriesLookup create(ChartWithAxes cwa, RunTimeContext rtc) throws ChartException, IllegalArgumentException - Parameters:
cwa-- Returns:
- Throws:
ChartExceptionIllegalArgumentException
-
getUnitCount
public int getUnitCount()
-