Skip to main content

PieSeriesData Interface

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

Declaration

public interface PieSeriesData

Methods

getDataCount() Method

Declaration

public int getDataCount()

Returns

Type
int

getLabel(int) Method

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

Declaration

public String getLabel(int index)

Parameters

Name Type Description
index int

The series point index.

Returns

Type Description
String

The String value specifying a Pie series label.

getValue(int) Method

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

Declaration

public double getValue(int index)

Parameters

Name Type Description
index int

The series point index.

Returns

Type Description
double

The double value specifying a value.