| java.lang.Object org.krysalis.jcharts.chartData.DataSet org.krysalis.jcharts.chartData.AxisChartDataSet
Constructor Summary | |
public | AxisChartDataSet(double[][] data, String[] legendLabels, Paint[] paints, ChartType chartType, ChartTypeProperties chartTypeProperties) Constructor
Parameters: data - the data sets to be displayed in the chart. Parameters: legendLabels - if this is: NULL there will be no Legend. |
Method Summary | |
final public ChartType | getChartType() Returns the type constant that this data set should be plotted as. | final public int | getNumberOfDataSets() | final public double | getValue(int dataset, int index) Returns the value in the data set at the specified position. | public void | toHTML(HTMLGenerator htmlGenerator) Enables the testing routines to display the contents of this Object. | public void | validate() Performs a limited validation of data. |
AxisChartDataSet | public AxisChartDataSet(double[][] data, String[] legendLabels, Paint[] paints, ChartType chartType, ChartTypeProperties chartTypeProperties) throws ChartDataException(Code) | | Constructor
Parameters: data - the data sets to be displayed in the chart. Parameters: legendLabels - if this is: NULL there will be no Legend. Otherwise, there must be anone to one mapping of labels to data sets. Parameters: paints - paints to use for the data sets. There must be an one to one mapping oflabels to data sets. Parameters: chartType - constant defining how this data should be rendered Parameters: chartTypeProperties - properties Object specific to the type of chart you are rendering. throws: ChartDataException - if data is not in correct form. |
getChartType | final public ChartType getChartType()(Code) | | Returns the type constant that this data set should be plotted as.
ChartType See Also: ChartType |
getNumberOfDataSets | final public int getNumberOfDataSets()(Code) | | Returns the number of IAxisChartDataSet Objects in this series
int |
toHTML | public void toHTML(HTMLGenerator htmlGenerator)(Code) | | Enables the testing routines to display the contents of this Object.
Parameters: htmlGenerator - |
validate | public void validate() throws ChartDataException, PropertyException(Code) | | Performs a limited validation of data. This is static and not called by the rendering engine
so as to avoid the, albeit small, cost of validation checking during deployment; this is viewed
more so as a development time test.
throws: ChartDataException - |
|
|