Skip to main content

SlicedChartView Class

The base class for pie and doughnut chart views.

Declaration

public abstract class SlicedChartView extends ColorfulChartView

Remarks

PieChartView and DoughnutChartView classes derive from the SlicedChartView class.

Refer to the following help topic for additional information: Create Standard Charts — Presentation API for Java.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

SlicedChartView()

Initializes a new instance of the SlicedChartView class.

Declaration

public SlicedChartView()

Methods

getFirstSliceAngle() Method

Returns the angle of the first slice.

Declaration

public float getFirstSliceAngle()

Returns

Type Description
float

The angle in degrees.

setFirstSliceAngle(float value) Method

Sets the angle of the first slice.

Declaration

public void setFirstSliceAngle(float value)

Parameters

Name Type Description
value float

The angle in degrees.

Remarks

The chart measures the angle clockwise from the top of the chart (the 12 o’clock position). If you do not call the setFirstSliceAngle(value) method, the API uses 0.

When the API saves the document, it rounds the angle to an integer and converts it to the range from 0 to 359 (for example, -30 becomes 330).