Skip to main content
A newer version of this page is available.

PieSeriesLabelValues Class

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

Declaration

public class PieSeriesLabelValues
extends SeriesLabelValuesBase

Inherited Members

java.lang.Object.equals(java.lang.Object)(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)(long)
java.lang.Object.wait(long, int)(long,int)

Inheritance

Object
SeriesLabelValuesBase
PieSeriesLabelValues

Methods

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.

getValue() Method

Returns the series point value.

Declaration

public double getValue()

Returns

Type Description
double

The series point value to be formatted in labels.

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%.