KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > krysalis > jcharts > chartData > interfaces > IRadarChartDataSet


1 package org.krysalis.jcharts.chartData.interfaces;
2
3 /**
4  * Base interface of datasets to be used with radar charts.
5  *
6  * @author Rami Hansenne
7  */

8 public interface IRadarChartDataSet
9     extends IDataSet {
10
11   /******************************************************************************************
12    * Returns the value in the data set at the specified position.
13    *
14    * @param dataset
15    * @param index
16    * @return double
17    *******************************************************************************************/

18   public double getValue(int dataset, int index);
19
20   /******************************************************************************************
21    * Returns the chart title.
22    *
23    * @return String the chart title. If this returns NULL, no title will be displayed.
24    ******************************************************************************************/

25   public String JavaDoc getChartTitle();
26
27   /******************************************************************************************
28    * Returns the number of labels on the axis
29    *
30    * @return int
31    ******************************************************************************************/

32   public int getNumberOfAxisLabels();
33
34   /******************************************************************************************
35    * Returns the axis label at the specified index.
36    *
37    * @param index
38    * @return String the axis label
39    ******************************************************************************************/

40   public String JavaDoc getAxisLabel( int index );
41
42   /******************************************************************************************
43    * Returns the number of data sets
44    *
45    * @return int
46    ******************************************************************************************/

47   public int getNumberOfDataSets();
48
49   /******************************************************************************************
50    * Returns the number of values per data set
51    *
52    * @return int
53    ******************************************************************************************/

54   public int getDataSetSize();
55
56 }
57
Popular Tags