PieSeriesLabelValues Class

Provides values available to build a pie series' label text.

Declaration

public class PieSeriesLabelValues
extends SeriesLabelValuesBase

Inheritance

Object
SeriesLabelValuesBase
PieSeriesLabelValues

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)

Methods

PieSeriesLabelValues.getLabel() Method

Returns the Pie slice label.

Declaration

public String getLabel()

Returns

Type Description
String

The Pie slice label to be formatted in series labels.

PieSeriesLabelValues.getValue() Method

Returns the series point value.

Declaration

public double getValue()

Returns

Type Description
double

The series point value to be formatted in labels.

PieSeriesLabelValues.getValueInPercent() Method

Returns the normalized value of a data point for which a label is formed.

Declaration

public double getValueInPercent()

Returns

Type Description
double

The data point's normalized value.

The value is normalized as follows: the data point's value is divided onto the sum of all data points' values with an argument that the current data point has. Then the calculated value is multiplied by 100%.