PieSeriesData Interface

The interface that should be implemented by the data adapter providing data for pie series.

Declaration

public interface PieSeriesData

Methods

PieSeriesData.getDataCount() Method

Declaration

public int getDataCount()

Returns

Type Description
int

PieSeriesData.getLabel(int) Method

Return a label of a Pie data point at the specified index.

Declaration

public String getLabel(int index)

Parameters

Type Name Description
int index

The series point index.

Returns

Type Description
String

The String value specifying a Pie series label.

PieSeriesData.getValue(int) Method

Return a value of a data point at the specified index.

Declaration

public double getValue(int index)

Parameters

Type Name Description
int index

The series point index.

Returns

Type Description
double

The double value specifying a value.