|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jCharts.chartData.DataSet
public class DataSet
| Field Summary | |
|---|---|
private ChartTypeProperties |
chartTypeProperties
|
protected double[][] |
data
|
protected String[] |
legendLabels
|
protected Paint[] |
paints
|
| Constructor Summary | |
|---|---|
DataSet(double[][] data,
String[] legendLabels,
Paint[] paints,
ChartTypeProperties chartTypeProperties)
Constructor |
|
| Method Summary | |
|---|---|
ChartTypeProperties |
getChartTypeProperties()
Returns ChartTypeProperties Object for the data set which will be typed into the specific chart type class. |
String |
getLegendLabel(int index)
Returns the legend label for the passed index. |
int |
getNumberOfDataItems()
Returns the number of elements in the data set. |
int |
getNumberOfLegendLabels()
Returns the number of Legend Labels to display. |
Paint |
getPaint(int index)
Returns the legend label for the passed index. |
void |
toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ChartTypeProperties chartTypeProperties
protected double[][] data
protected String[] legendLabels
protected Paint[] paints
| Constructor Detail |
|---|
public DataSet(double[][] data,
String[] legendLabels,
Paint[] paints,
ChartTypeProperties chartTypeProperties)
data - legendLabels - will be NULL if no Legend.paints - chartTypeProperties - | Method Detail |
|---|
public final String getLegendLabel(int index)
getLegendLabel in interface IDataSetindex -
public int getNumberOfLegendLabels()
getNumberOfLegendLabels in interface IDataSetpublic Paint getPaint(int index)
getPaint in interface IDataSetindex -
public ChartTypeProperties getChartTypeProperties()
IDataSet
getChartTypeProperties in interface IDataSetpublic int getNumberOfDataItems()
getNumberOfDataItems in interface IDataSetpublic void toHTML(HTMLGenerator htmlGenerator)
toHTML in interface HTMLTestablehtmlGenerator -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||