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