|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jCharts.chartData.AxisDataSeries
Collection of all IAxisChartDataSets to display in an AxisChart
Field Summary | |
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 Summary | |
AxisDataSeries(java.lang.String xAxisTitle,
java.lang.String yAxisTitle,
java.lang.String chartTitle)
Constructor |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
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
Constructor Detail |
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 displayedMethod Detail |
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |