|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jCharts.chartData.DataSet
Field Summary | |
private ChartTypeProperties |
chartTypeProperties
|
protected double[][] |
data
|
protected java.lang.String[] |
legendLabels
|
protected java.awt.Paint[] |
paints
|
Constructor Summary | |
DataSet(double[][] data,
java.lang.String[] legendLabels,
java.awt.Paint[] paints,
ChartTypeProperties chartTypeProperties)
Constructor |
Method Summary | |
ChartTypeProperties |
getChartTypeProperties()
Returns ChartTypeProperties Object for the data set which will be typed into the specific chart type class. |
java.lang.String |
getLegendLabel(int index)
Returns the legend label for the passed index. |
int |
getNumberOfDataItems()
Returns the number of elements in the data set. |
int |
getNumberOfLegendLabels()
Returns the number of Legend Labels to display. |
java.awt.Paint |
getPaint(int index)
Returns the legend label for the passed index. |
void |
toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ChartTypeProperties chartTypeProperties
protected double[][] data
protected java.lang.String[] legendLabels
protected java.awt.Paint[] paints
Constructor Detail |
public DataSet(double[][] data, java.lang.String[] legendLabels, java.awt.Paint[] paints, ChartTypeProperties chartTypeProperties)
data
- legendLabels
- will be NULL if no Legend.paints
- chartTypeProperties
- Method Detail |
public final java.lang.String getLegendLabel(int index)
getLegendLabel
in interface IDataSet
index
-
public int getNumberOfLegendLabels()
getNumberOfLegendLabels
in interface IDataSet
public java.awt.Paint getPaint(int index)
getPaint
in interface IDataSet
index
-
public ChartTypeProperties getChartTypeProperties()
IDataSet
getChartTypeProperties
in interface IDataSet
public int getNumberOfDataItems()
getNumberOfDataItems
in interface IDataSet
public void toHTML(HTMLGenerator htmlGenerator)
toHTML
in interface HTMLTestable
htmlGenerator
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |