org.jCharts.chartData
public abstract class AxisDataSeries extends Object implements IAxisDataSeries, HTMLTestable
Modifier and Type | Field and Description |
---|---|
private String |
chartTitle |
protected HashMap |
dataSets |
private int |
sizeOfEachDataSet |
protected int |
totalNumberOfDataSets |
private String |
xAxisTitle |
private String |
yAxisTitle |
Constructor and Description |
---|
AxisDataSeries(String xAxisTitle,
String yAxisTitle,
String chartTitle)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addIAxisPlotDataSet(IAxisPlotDataSet iAxisPlotDataSet)
Adds the passed IAxisPlotDataSet to the series
|
String |
getChartTitle()
Returns the chart title.
|
IAxisPlotDataSet |
getIAxisPlotDataSet(ChartType chartType)
Returns the IAxisPlotDataSet for the passed chart type constant.
|
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.
|
String |
getXAxisTitle()
Returns the x-axis title
|
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 String chartTitle
private String xAxisTitle
private String yAxisTitle
protected HashMap dataSets
protected int totalNumberOfDataSets
private int sizeOfEachDataSet
public String getXAxisTitle()
getXAxisTitle
in interface IAxisDataSeries
public String getYAxisTitle()
getYAxisTitle
in interface IAxisDataSeries
public String getChartTitle()
getChartTitle
in interface IAxisDataSeries
public IAxisPlotDataSet getIAxisPlotDataSet(ChartType chartType)
getIAxisPlotDataSet
in interface IAxisDataSeries
chartType
- public 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