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

PieSeries Class

The Pie series.

Declaration

public class PieSeries
extends SeriesBase

Remarks

The following image demonstrates Pie series:

Pie series

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)

PieSeries()

Initializes a new PieSeries class instance with default parameters.

Declaration

public PieSeries()

Methods

getCenterLabel() Method

Declaration

public PieCenterLabel getCenterLabel()

Returns

Type
PieCenterLabel

getData() Method

Returns the Pie series‘s data.

Declaration

public PieSeriesData getData()

Returns

Type Description
PieSeriesData

An object that provides data points’ labels and values.

See Also

getHintOptions() Method

Returns the PieSeriesHintOptions object that stores hint settings.

Declaration

public PieSeriesHintOptions getHintOptions()

Returns

Type Description
PieSeriesHintOptions

The PieSeriesHintOptions object specifying hint settings.

getLabel() Method

Returns settings of the Pie series labels.

Declaration

public PieSeriesLabel getLabel()

Returns

Type Description
PieSeriesLabel

The PieSeriesLabel object that stores parameters of series point labels.

getStartAngle() Method

Returns the start angle of the Pie series first slice.

Declaration

public float getStartAngle()

Returns

Type Description
float

The start angle in degrees.

getStyle() Method

Returns the appearance parameters of the Pie series.

Declaration

public PieSeriesStyle getStyle()

Returns

Type Description
PieSeriesStyle

The PieSeriesStyle object that configures the Pie series appearance.

getSweepDirection() Method

Return the value that specifies the Pie series sweep direction (clockwise or counterclockwise).

Declaration

public SweepDirection getSweepDirection()

Returns

Type Description
SweepDirection

The SweepDirection enumeration value that specifies the sweep direction.

setCenterLabel(PieCenterLabel) Method

Declaration

public void setCenterLabel(PieCenterLabel centerLabel)

Parameters

Name Type
centerLabel PieCenterLabel

setData(PieSeriesData) Method

Specifies the Pie series‘s data.

Declaration

public void setData(PieSeriesData data)

Parameters

Name Type Description
data PieSeriesData

An object that provides data points’ labels and values.

See Also

setHintOptions(PieSeriesHintOptions) Method

Specifies the PieSeriesHintOptions object that stores hint settings.

Declaration

public void setHintOptions(PieSeriesHintOptions options)

Parameters

Name Type Description
options PieSeriesHintOptions

The PieSeriesHintOptions object specifying hint settings.

setLabel(PieSeriesLabel) Method

Specifies settings of the Pie series labels.

Declaration

public void setLabel(PieSeriesLabel seriesLabel)

Parameters

Name Type Description
seriesLabel PieSeriesLabel

The PieSeriesLabel object that stores parameters of series point labels.

setStartAngle(float) Method

Specifies the start angle of the Pie series first slice.

Declaration

public void setStartAngle(float angle)

Parameters

Name Type Description
angle float

The start angle in degrees.

setStyle(PieSeriesStyle) Method

Specifies the appearance parameters of the Pie series.

Declaration

public void setStyle(PieSeriesStyle style)

Parameters

Name Type Description
style PieSeriesStyle

The PieSeriesStyle object that configures the Pie series appearance.

setSweepDirection(SweepDirection) Method

Specifies the value that specifies the Pie series sweep direction (clockwise or counterclockwise).

Declaration

public void setSweepDirection(SweepDirection direction)

Parameters

Name Type Description
direction SweepDirection

The SweepDirection enumeration value that specifies the sweep direction.