|
||||||||||
| 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 displayed| Method Detail |
public java.lang.String getXAxisTitle()
getXAxisTitle in interface IAxisDataSeriespublic java.lang.String getYAxisTitle()
getYAxisTitle in interface IAxisDataSeriespublic java.lang.String getChartTitle()
getChartTitle in interface IAxisDataSeriespublic IAxisPlotDataSet getIAxisPlotDataSet(ChartType chartType)
getIAxisPlotDataSet in interface IAxisDataSerieschartType -
public java.util.Iterator getIAxisPlotDataSetIterator()
getIAxisPlotDataSetIterator in interface IAxisDataSeriespublic int getTotalNumberOfDataSets()
getTotalNumberOfDataSets in interface IAxisDataSeriespublic void addIAxisPlotDataSet(IAxisPlotDataSet iAxisPlotDataSet)
addIAxisPlotDataSet in interface IAxisDataSeriesiAxisPlotDataSet -
public void validate()
throws ChartDataException,
PropertyException
IAxisDataSeries
validate in interface IAxisDataSeriesChartDataException
PropertyExceptionChartProperties.setValidate( boolean )public int getSizeOfEachDataSet()
public void toHTML(HTMLGenerator htmlGenerator)
toHTML in interface HTMLTestablehtmlGenerator - public int size()
size in interface IAxisDataSeries
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||