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)
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)

Constructors

PieSeries() Constructor

Initializes a new PieSeries class instance with default parameters.

Declaration

public PieSeries()

Methods

PieSeries.getCenterLabel() Method

Declaration

public PieCenterLabel getCenterLabel()

Returns

Type Description
PieCenterLabel

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

PieSeries.getHintOptions() Method

Returns the PieSeriesHintOptions object that stores hint settings.

Declaration

public PieSeriesHintOptions getHintOptions()

Returns

Type Description
PieSeriesHintOptions

The PieSeriesHintOptions object specifying hint settings.

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

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

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

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

PieSeries.setCenterLabel(PieCenterLabel) Method

Declaration

public void setCenterLabel(PieCenterLabel centerLabel)

Parameters

Type Name Description
PieCenterLabel centerLabel

PieSeries.setData(PieSeriesData) Method

Specifies the Pie series's data.

Declaration

public void setData(PieSeriesData data)

Parameters

Type Name Description
PieSeriesData data

An object that provides data points' labels and values.

See Also

PieSeries.setHintOptions(PieSeriesHintOptions) Method

Specifies the PieSeriesHintOptions object that stores hint settings.

Declaration

public void setHintOptions(PieSeriesHintOptions options)

Parameters

Type Name Description
PieSeriesHintOptions options

The PieSeriesHintOptions object specifying hint settings.

PieSeries.setLabel(PieSeriesLabel) Method

Specifies settings of the Pie series labels.

Declaration

public void setLabel(PieSeriesLabel seriesLabel)

Parameters

Type Name Description
PieSeriesLabel seriesLabel

The PieSeriesLabel object that stores parameters of series point labels.

PieSeries.setStartAngle(float) Method

Specifies the start angle of the Pie series first slice.

Declaration

public void setStartAngle(float angle)

Parameters

Type Name Description
float angle

The start angle in degrees.

PieSeries.setStyle(PieSeriesStyle) Method

Specifies the appearance parameters of the Pie series.

Declaration

public void setStyle(PieSeriesStyle style)

Parameters

Type Name Description
PieSeriesStyle style

The PieSeriesStyle object that configures the Pie series appearance.

PieSeries.setSweepDirection(SweepDirection) Method

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

Declaration

public void setSweepDirection(SweepDirection direction)

Parameters

Type Name Description
SweepDirection direction

The SweepDirection enumeration value that specifies the sweep direction.