| java.lang.Object de.progra.charting.model.StackedChartDataModelConstraints
StackedChartDataModelConstraints | public class StackedChartDataModelConstraints implements ChartDataModelConstraints(Code) | | Implementing the ChartDataModelConstraints this class provides an implementation
for the data model constraints where the maximum value is the sum of all
positive values and the minimum value is the sum of all negative values.
author: smueller |
Field Summary | |
protected boolean | allowManualColScale A flag which determines if column values should be manually scalable. | protected int | axis The axis to compute the constraints. | protected AbstractChartDataModel | model The model for which to calculate the constraints. |
allowManualColScale | protected boolean allowManualColScale(Code) | | A flag which determines if column values should be manually scalable.
|
axis | protected int axis(Code) | | The axis to compute the constraints.
|
StackedChartDataModelConstraints | public StackedChartDataModelConstraints(AbstractChartDataModel model, int axis)(Code) | | Creates a new instance of DefaultChartDataModelConstraints
|
StackedChartDataModelConstraints | public StackedChartDataModelConstraints(AbstractChartDataModel model, int axis, boolean allowManualColScale)(Code) | | Creates a new instance of DefaultChartDataModelConstraints
Parameters: model - the AbstractDataModel for which constraints will be computed Parameters: axis - the y-axis which will be considered Parameters: allowManualScale - a flag which triggers if column values should be allowed to be scaled manually (default is yes) |
getMaximumValue | public Number getMaximumValue()(Code) | | Returns the maximum value of all datasets.
|
getMinimumValue | public Number getMinimumValue()(Code) | | Returns the minimum value of all datasets.
|
|
|