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, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addIAxisPlotDataSet, getChartTitle, getIAxisPlotDataSet, getIAxisPlotDataSetIterator, getTotalNumberOfDataSets, getXAxisTitle, getYAxisTitle, size
private 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 IDataSeries
index
- public int getNumberOfAxisLabels()
getNumberOfAxisLabels
in interface IDataSeries
public void validate() throws ChartDataException, PropertyException
IAxisDataSeries
validate
in interface IAxisDataSeries
validate
in class AxisDataSeries
ChartDataException
PropertyException
ChartProperties.setValidate( boolean )
public void toHTML(HTMLGenerator htmlGenerator)
toHTML
in interface HTMLTestable
toHTML
in class AxisDataSeries
htmlGenerator
-