PieSeriesStyle Class

The storage of the Pie series appearance settings.

Declaration

public class PieSeriesStyle
extends StyleBase

The image below demonstrates parameters to customize.

Pie series style

Inheritance

Object
ChartElement
StyleBase
PieSeriesStyle

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

PieSeriesStyle() Constructor

Initializes a new PieSeriesStyle class instance with default parameters.

Declaration

public PieSeriesStyle()

Methods

PieSeriesStyle.getExplodedDistance() Method

Returns the distance between an exploded slice and other part of the series.

Declaration

public Float getExplodedDistance()

Returns

Type Description
Float

The distance between an exploded slice and other part of the series, measured in percents of the pie radius.

PieSeriesStyle.getStroke() Method

Returns the color of the pie segments stroke as a color-int value.

Declaration

public Integer getStroke()

Returns

Type Description
Integer

The color of the pie segment stroke.

PieSeriesStyle.getStrokeThickness() Method

Return the width of the pie segments' stroke.

Declaration

public Float getStrokeThickness()

Returns

Type Description
Float

The width of the pie segments' stroke, in pixels.

PieSeriesStyle.setExplodedDistance(Float) Method

Specifies the distance between an exploded slice and other part of the series.

Declaration

public void setExplodedDistance(Float distance)

Parameters

Type Name Description
Float distance

The distance between an exploded slice and other part of the series, measured in percents of the pie radius.

PieSeriesStyle.setStroke(Integer) Method

Specifies the color of the pie segments stroke as a color-int value.

Declaration

public void setStroke(Integer stroke)

Parameters

Type Name Description
Integer stroke

The color of the pie segment stroke.

PieSeriesStyle.setStrokeThickness(Float) Method

Specifies the width of the pie segments' stroke.

Declaration

public void setStrokeThickness(Float strokeThickness)

Parameters

Type Name Description
Float strokeThickness

The width of the pie segments' stroke, in pixels.