public class DataSeries extends AxisDataSeries implements IDataSeries, HTMLTestable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String[] |
axisLabels |
dataSets, totalNumberOfDataSets| Constructor and Description |
|---|
DataSeries(java.lang.String[] axisLabels,
java.lang.String xAxisTitle,
java.lang.String yAxisTitle,
java.lang.String chartTitle)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.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, sizepublic DataSeries(java.lang.String[] axisLabels,
java.lang.String xAxisTitle,
java.lang.String yAxisTitle,
java.lang.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 java.lang.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 -