01: package org.krysalis.jcharts.chartData.interfaces;
02:
03: /**
04: * Base interface of datasets to be used with radar charts.
05: *
06: * @author Rami Hansenne
07: */
08: public interface IRadarChartDataSet extends IDataSet {
09:
10: /******************************************************************************************
11: * Returns the value in the data set at the specified position.
12: *
13: * @param dataset
14: * @param index
15: * @return double
16: *******************************************************************************************/
17: public double getValue(int dataset, int index);
18:
19: /******************************************************************************************
20: * Returns the chart title.
21: *
22: * @return String the chart title. If this returns NULL, no title will be displayed.
23: ******************************************************************************************/
24: public String getChartTitle();
25:
26: /******************************************************************************************
27: * Returns the number of labels on the axis
28: *
29: * @return int
30: ******************************************************************************************/
31: public int getNumberOfAxisLabels();
32:
33: /******************************************************************************************
34: * Returns the axis label at the specified index.
35: *
36: * @param index
37: * @return String the axis label
38: ******************************************************************************************/
39: public String getAxisLabel(int index);
40:
41: /******************************************************************************************
42: * Returns the number of data sets
43: *
44: * @return int
45: ******************************************************************************************/
46: public int getNumberOfDataSets();
47:
48: /******************************************************************************************
49: * Returns the number of values per data set
50: *
51: * @return int
52: ******************************************************************************************/
53: public int getDataSetSize();
54:
55: }
|