| |
|
| java.lang.Object de.progra.charting.model.DefaultChartDataModelConstraints
DefaultChartDataModelConstraints | public class DefaultChartDataModelConstraints implements ChartDataModelConstraints(Code) | | Implementing the ChartDataModelConstraints this class provides the default implementation
for the data model constraints. Alternative implementations could return the sum of all
column values to implement stacked bar charts e.g.
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.
|
DefaultChartDataModelConstraints | public DefaultChartDataModelConstraints(AbstractChartDataModel model, int axis)(Code) | | Creates a new instance of DefaultChartDataModelConstraints
|
DefaultChartDataModelConstraints | public DefaultChartDataModelConstraints(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.
|
|
|
|