Constructor and Description |
---|
AxisUpdateContext(AxisModel axis,
ArrayList<ChartSeriesModel> series,
Iterable<ChartSeriesCombineStrategy> seriesCombineStrategies)
Creates an instance of the
AxisUpdateContext class with
the specified parameters. |
Modifier and Type | Method and Description |
---|---|
Iterable<CombinedSeries> |
combinedSeries()
Gets a collection of
CombinedSeries objects describing the combined series taking part in the update procedure. |
double |
getMinimumStackSum()
Gets the value of the minimum stack-sum.
|
boolean |
isStacked()
Gets a boolean value determining whether there are stacked series in the Chart.
|
boolean |
isStacked100()
Gets a boolean value determining whether there are stacked-100 series in the Chart.
|
double |
maximumStackSum()
Gets the value of the maximum stack-sum.
|
Iterable<ChartSeriesModel> |
nonCombinedSeries()
Gets a collection of
ChartSeriesModel objects describing the non-series taking part in the update procedure. |
Iterable<ChartSeriesModel> |
series()
Gets a collection of
ChartSeriesModel objects describing the series taking part in the update procedure. |
public AxisUpdateContext(AxisModel axis, ArrayList<ChartSeriesModel> series, Iterable<ChartSeriesCombineStrategy> seriesCombineStrategies)
AxisUpdateContext
class with
the specified parameters.axis
- an instance of the AxisModel
which will be part of the invalidation and plotting procedure.series
- an array of ChartSeriesModel
instances representing the series currently plotted in the Chart.seriesCombineStrategies
- a collection of ChartSeriesCombineStrategy
determining how the series will be combined.public boolean isStacked()
true
if there are stacked series, otherwise false
.public boolean isStacked100()
true
if there are stacked-100 series, otherwise false
.public double maximumStackSum()
public double getMinimumStackSum()
public Iterable<ChartSeriesModel> series()
ChartSeriesModel
objects describing the series taking part in the update procedure.ChartSeriesModel
collection.public Iterable<CombinedSeries> combinedSeries()
CombinedSeries
objects describing the combined series taking part in the update procedure.CombinedSeries
collection.public Iterable<ChartSeriesModel> nonCombinedSeries()
ChartSeriesModel
objects describing the non-series taking part in the update procedure.ChartSeriesModel
collection.