|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The core data model interface for JClass Chart.
In JClass Chart, data is specified in terms of data series.
Chart asks for the x or y data for a
particular series, and the data source implementing this
class is expected to return an array of double values
(double[]
).
JClass Chart will attempt to recognize cases in which the same x data is returned for all series and then will re-use that data.
It is recommended that implementors honor the NumSeries
property. Thus, be sure you can handle x or y data
queries in the range 0 to NumSeries
.
Point labels, series labels, and data source names are
specified by implementing LabelledChartDataModel
.
LabelledChartDataModel
Field Summary | |
static int |
ALL
In certain contexts, used to specify all series or all points. |
Method Summary | |
int |
getNumSeries()
Retrieves the number of data series. |
double[] |
getXSeries(int index)
Retrieves the x values of the specified data series. |
double[] |
getYSeries(int index)
Retrieves the y values of the specified data series. |
Field Detail |
public static final int ALL
Method Detail |
public double[] getXSeries(int index)
index
- data series index
public double[] getYSeries(int index)
index
- data series index
public int getNumSeries()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |