JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart
Interface LabelledChartDataModel

All Known Implementing Classes:
BaseDataSource, JCChartSwingDataSource

public interface LabelledChartDataModel

An interface used to specify point labels and series names for a JClass Chart data model.

Note: The LabelledChartDataModel interface is only used in conjunction with the ChartDataModel interface; that is, in order for an object to be recognized as a chart data source, it needs to implement the ChartDataModel interface.

See Also:
ChartDataModel

Method Summary
 String getDataSourceName()
          Retrieves the name for the data source.
 int getNumSeries()
          Retrieves the number of data series.
 String[] getPointLabels()
          Retrieves the labels to be used for each point in a particular data series.
 String[] getSeriesLabels()
          Retrieves the labels to be used for each data series.
 

Method Detail

getNumSeries

public int getNumSeries()
Retrieves the number of data series.

Returns:
number of data series

getPointLabels

public String[] getPointLabels()
Retrieves the labels to be used for each point in a particular data series.

Returns:
array of point labels

getSeriesLabels

public String[] getSeriesLabels()
Retrieves the labels to be used for each data series.

Returns:
labels to be used for each data series

getDataSourceName

public String getDataSourceName()
Retrieves the name for the data source.

Returns:
name for the data source

Copyright © 2004 Quest Software Inc..
All rights reserved.