com.approximatrix.charting.model
Interface ChartDataModelConstraints

All Known Implementing Classes:
DefaultChartDataModelConstraints, MultiScatterDataModelConstraints, StackedChartDataModelConstraints

public interface ChartDataModelConstraints

This interface is used by the rendering algorithm for a coordinate system. It defines the range of values.

Version:
1.0
Author:
mueller

Method Summary
 double getMaximumColumnValue()
          Returns the maximum column value.
 java.lang.Number getMaximumValue()
          Returns the maximum value of all datasets.
 double getMinimumColumnValue()
          Returns the minimum column value.
 java.lang.Number getMinimumValue()
          Returns the minimum value of all datasets.
 

Method Detail

getMinimumValue

java.lang.Number getMinimumValue()
Returns the minimum value of all datasets.

Returns:
a Number object defining the smallest value.

getMaximumValue

java.lang.Number getMaximumValue()
Returns the maximum value of all datasets.

Returns:
a Number object defining the maximum value

getMinimumColumnValue

double getMinimumColumnValue()
Returns the minimum column value.

Returns:
In the case of non-numeric x-values this should be 0, in the case of numeric x-values this should nomen est omen be the smallest value.

getMaximumColumnValue

double getMaximumColumnValue()
Returns the maximum column value.

Returns:
In the case of non-numeric x-values this should be the amount of columns - 1, in the case of numeric x-values this should nomen est omen be the smallest value.