| java.lang.Object org.krysalis.jcharts.chartData.DataSet
All known Subclasses: org.krysalis.jcharts.chartData.RadarChartDataSet, org.krysalis.jcharts.chartData.PieChartDataSet, org.krysalis.jcharts.chartData.AxisChartDataSet,
data | protected double[][] data(Code) | | |
DataSet | public DataSet(double[][] data, String[] legendLabels, Paint[] paints, ChartTypeProperties chartTypeProperties)(Code) | | Constructor
Parameters: data - Parameters: legendLabels - will be NULL if no Legend. Parameters: paints - Parameters: chartTypeProperties - |
getLegendLabel | final public String getLegendLabel(int index)(Code) | | Returns the legend label for the passed index. This index corresponds to the DataSet
for which label you want.
Parameters: index - String |
getNumberOfDataItems | public int getNumberOfDataItems()(Code) | | Returns the number of elements in the data set. All data sets must be of the same length
so just look at the first one.
int |
getNumberOfLegendLabels | public int getNumberOfLegendLabels()(Code) | | Returns the number of Legend Labels to display. This may not be the same as the number of
Data Items, as in AxisCharts, or Data Sets, as in Pie Charts.
int |
getPaint | public Paint getPaint(int index)(Code) | | Returns the legend label for the passed index. This index corresponds to the DataSet
for which label you want.
Parameters: index - Paint |
toHTML | public void toHTML(HTMLGenerator htmlGenerator)(Code) | | Enables the testing routines to display the contents of this Object.
Parameters: htmlGenerator - |
|
|