public class DataSeries extends AxisDataSeries implements IDataSeries, HTMLTestable
| Modifier and Type | Field and Description |
|---|---|
private String[] |
axisLabels |
dataSets, totalNumberOfDataSets| Constructor and Description |
|---|
DataSeries(String[] axisLabels,
String xAxisTitle,
String yAxisTitle,
String chartTitle)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAxisLabel(int index)
Returns the x-axis label corresponding to the passed index
|
int |
getNumberOfAxisLabels()
Returns the number of labels on the x-axis
|
void |
toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object.
|
void |
validate()
Validates the DataSeries implementation.
|
addIAxisPlotDataSet, getChartTitle, getIAxisPlotDataSet, getIAxisPlotDataSetIterator, getSizeOfEachDataSet, getTotalNumberOfDataSets, getXAxisTitle, getYAxisTitle, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddIAxisPlotDataSet, getChartTitle, getIAxisPlotDataSet, getIAxisPlotDataSetIterator, getTotalNumberOfDataSets, getXAxisTitle, getYAxisTitle, sizeprivate String[] axisLabels
public DataSeries(String[] axisLabels, String xAxisTitle, String yAxisTitle, String chartTitle)
axisLabels - xAxisTitle - if this is NULL, no title will be displayedyAxisTitle - if this is NULL, no title will be displayedchartTitle - if this is NULL, no title will be displayedpublic String getAxisLabel(int index)
getAxisLabel in interface IDataSeriesindex - public int getNumberOfAxisLabels()
getNumberOfAxisLabels in interface IDataSeriespublic void validate()
throws ChartDataException,
PropertyException
IAxisDataSeriesvalidate in interface IAxisDataSeriesvalidate in class AxisDataSeriesChartDataExceptionPropertyExceptionChartProperties.setValidate( boolean )public void toHTML(HTMLGenerator htmlGenerator)
toHTML in interface HTMLTestabletoHTML in class AxisDataSerieshtmlGenerator -