public abstract class AbstractChartDataTable<N extends java.lang.Number> extends java.lang.Object implements AbstractChartData<N>
N.| Constructor and Description |
|---|
AbstractChartDataTable() |
| Modifier and Type | Method and Description |
|---|---|
N |
getDataValue(int index)
Returns the data value at a given index.
|
N |
getHighestDataValue()
Returns the highest data value.
|
int |
getNumOfData()
Returns the number of data for this chart.
|
Model |
getOwnerModel()
Should return the owner Model this chart data is associated to.
|
boolean |
isEmpty()
Returns whether this chart data is empty or not.
|
public N getHighestDataValue()
Double.POSITIVE_INFINITY
will be ignored.getHighestDataValue in interface AbstractChartData<N extends java.lang.Number>public int getNumOfData()
getNumOfData in interface AbstractChartData<N extends java.lang.Number>public N getDataValue(int index)
null will be returned.getDataValue in interface AbstractChartData<N extends java.lang.Number>index - public Model getOwnerModel()
AbstractChartDatagetOwnerModel in interface AbstractChartData<N extends java.lang.Number>public boolean isEmpty()
true if this.getNumOfData()==0,
else returns false.isEmpty in interface AbstractChartData<N extends java.lang.Number>