Skip to main content

PieSeriesStyle Class

The storage of the Pie series appearance settings.

Declaration

public class PieSeriesStyle
extends StyleBase

Remarks

The image below demonstrates parameters to customize.

Pie series style

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

PieSeriesStyle()

Initializes a new PieSeriesStyle class instance with default parameters.

Declaration

public PieSeriesStyle()

Methods

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.

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.

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.

setExplodedDistance(Float) Method

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

Declaration

public void setExplodedDistance(Float distance)

Parameters

Name Type Description
distance Float

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

setStroke(Integer) Method

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

Declaration

public void setStroke(Integer stroke)

Parameters

Name Type Description
stroke Integer

The color of the pie segment stroke.

setStrokeThickness(Float) Method

Specifies the width of the pie segments’ stroke.

Declaration

public void setStrokeThickness(Float strokeThickness)

Parameters

Name Type Description
strokeThickness Float

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