public abstract class AxisDataSeries extends java.lang.Object implements IAxisDataSeries, HTMLTestable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
chartTitle |
protected java.util.HashMap |
dataSets |
private int |
sizeOfEachDataSet |
protected int |
totalNumberOfDataSets |
private java.lang.String |
xAxisTitle |
private java.lang.String |
yAxisTitle |
Constructor and Description |
---|
AxisDataSeries(java.lang.String xAxisTitle,
java.lang.String yAxisTitle,
java.lang.String chartTitle)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addIAxisPlotDataSet(IAxisPlotDataSet iAxisPlotDataSet)
Adds the passed IAxisPlotDataSet to the series
|
java.lang.String |
getChartTitle()
Returns the chart title.
|
IAxisPlotDataSet |
getIAxisPlotDataSet(ChartType chartType)
Returns the IAxisPlotDataSet for the passed chart type constant.
|
java.util.Iterator |
getIAxisPlotDataSetIterator()
Returns an Iterator over a List of IAxisPlotDataSet Objects
|
int |
getSizeOfEachDataSet()
Returns number of elements in each data set dimension, so i can validate a that all
IAxisPlotDataSets on a ComboChart have the same number of elements, as well as the
number of Axis Labels equal the number of data elements other charts.
|
int |
getTotalNumberOfDataSets()
Returns the total number data dimensions in all of the IAxisChartDataSets contained in
this collection.
|
java.lang.String |
getXAxisTitle()
Returns the x-axis title
|
java.lang.String |
getYAxisTitle()
Returns the y-axis title
|
int |
size()
Returns the number of IAxisPlotDataSet Objects in this series
|
void |
toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object.
|
void |
validate()
Validates the DataSeries implementation.
|
private java.lang.String chartTitle
private java.lang.String xAxisTitle
private java.lang.String yAxisTitle
protected java.util.HashMap dataSets
protected int totalNumberOfDataSets
private int sizeOfEachDataSet
public AxisDataSeries(java.lang.String xAxisTitle, java.lang.String yAxisTitle, java.lang.String chartTitle)
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 getXAxisTitle()
getXAxisTitle
in interface IAxisDataSeries
public java.lang.String getYAxisTitle()
getYAxisTitle
in interface IAxisDataSeries
public java.lang.String getChartTitle()
getChartTitle
in interface IAxisDataSeries
public IAxisPlotDataSet getIAxisPlotDataSet(ChartType chartType)
getIAxisPlotDataSet
in interface IAxisDataSeries
chartType
- public java.util.Iterator getIAxisPlotDataSetIterator()
getIAxisPlotDataSetIterator
in interface IAxisDataSeries
public int getTotalNumberOfDataSets()
getTotalNumberOfDataSets
in interface IAxisDataSeries
public void addIAxisPlotDataSet(IAxisPlotDataSet iAxisPlotDataSet)
addIAxisPlotDataSet
in interface IAxisDataSeries
iAxisPlotDataSet
- public void validate() throws ChartDataException, PropertyException
IAxisDataSeries
validate
in interface IAxisDataSeries
ChartDataException
PropertyException
ChartProperties.setValidate( boolean )
public int getSizeOfEachDataSet()
public void toHTML(HTMLGenerator htmlGenerator)
toHTML
in interface HTMLTestable
htmlGenerator
- public int size()
size
in interface IAxisDataSeries