public class ChartSeriesCombineStrategy extends Object
SupportCombineMode
instances and have their SupportCombineMode.getCombineMode()
member specified.Modifier and Type | Field and Description |
---|---|
ArrayList<CombinedSeries> |
combinedSeries |
boolean |
hasCombination |
boolean |
isUpdated |
Hashtable<AxisModel,Double> |
maximumStackSums |
Hashtable<AxisModel,Double> |
minimumStackSums |
ArrayList<ChartSeriesModel> |
nonCombinedSeries |
AxisModel |
stackAxis |
ArrayList<AxisModel> |
stackValueAxes |
Constructor and Description |
---|
ChartSeriesCombineStrategy()
Creates a new instance of the
ChartSeriesCombineStrategy class. |
Modifier and Type | Method and Description |
---|---|
void |
applyLayoutRounding(ChartAreaModel chartArea)
Applies layout rounding to the series in this strategy taking into account the provided chart area.
|
void |
plot()
Plots the combined series on the chart area.
|
void |
reset()
Resets this combine strategy.
|
void |
update(Iterable<ChartSeriesModel> series,
AxisModel stackAxis)
Updates the combine strategy with the supplied series and axis.
|
public ArrayList<CombinedSeries> combinedSeries
public ArrayList<ChartSeriesModel> nonCombinedSeries
public boolean hasCombination
public AxisModel stackAxis
public boolean isUpdated
public ChartSeriesCombineStrategy()
ChartSeriesCombineStrategy
class.public void update(Iterable<ChartSeriesModel> series, AxisModel stackAxis)
series
- The series of the combine strategy.stackAxis
- The axis of the combine strategy.public void applyLayoutRounding(ChartAreaModel chartArea)
chartArea
- The chart area of the series.public void plot()
public void reset()