DonutSeries Class
A pie chart with a hole in the center.
Declaration
public class DonutSeries
extends PieSeries
Remarks
The following image demonstrates Donut 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)
Inheritance
DonutSeries()
Initializes a new DonutSeries class instance with default parameters.
Declaration
public DonutSeries()
Methods
getHoleRadius() Method
Returns the Donut series’s inner cicle radius.
Declaration
public float getHoleRadius()
Returns
Type | Description |
---|---|
float | The hole radius as a percentage of the Donut series’s radius. |
Remarks
Note that this value should be in the [0; 1] interval.
setHoleRadius(float) Method
Specifies the Donut series’s inner cicle radius.
Declaration
public void setHoleRadius(float radius)
Parameters
Name | Type | Description |
---|---|---|
radius | float | The hole radius as a percentage of the Donut series’s radius. |
Remarks
Note that this value should be in the [0; 1] interval.