PieSeriesBase Class
The base class for pie and doughnut series.
Declaration
public abstract class PieSeriesBase extends SeriesBase
Remarks
The following classes derive from the PieSeriesBase class:
Refer to the following help topic for additional information: Create Standard Charts — Presentation API for Java.
Inherited Members
Inheritance
Methods
getAxisGroup() Method
Returns the axis group that displays the series.
Declaration
public ChartAxisGroupType getAxisGroup()
Returns
| Type | Description |
|---|---|
| ChartAxisGroupType | The axis group. |
getCustomDataPoints() Method
Returns appearance settings for individual series data points.
Declaration
public IDataPointDictionary getCustomDataPoints()
Returns
| Type | Description |
|---|---|
| IDataPointDictionary | A dictionary that maps zero-based data point indexes to data point settings. |
Remarks
To customize an individual data point, add a DataPoint object to the dictionary that the getCustomDataPoints() method returns. The dictionary key is the zero-based index of the data point.
getExplosion() Method
Returns the distance between slices and the chart center.
Declaration
public float getExplosion()
Returns
| Type | Description |
|---|---|
| float | The distance as a fraction of the chart radius (from |
setAxisGroup(ChartAxisGroupType value) Method
Sets the axis group that displays the series.
Declaration
public void setAxisGroup(ChartAxisGroupType value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | ChartAxisGroupType | The axis group. |
Remarks
The setAxisGroup(value) method accepts the following values:
| Value | Description |
|---|---|
| PRIMARY | Indicates primary axes. |
| SECONDARY | Indicates secondary axes. |
If you do not call the setAxisGroup(value) method, the series uses the primary axis group.
Pie and doughnut charts do not display axes. The chart displays series in the secondary axis group in a separate chart view.
setExplosion(float value) Method
Sets the distance between slices and the chart center.
Declaration
public void setExplosion(float value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | float | The distance as a fraction of the chart radius (from |
Exceptions
| Type | Description |
|---|---|
| ArgumentOutOfRangeException | Thrown if the |
Remarks
The value range is from 0 to 4. For example, the setExplosion(0.25f) method moves slices away from the chart center by 25% of the chart radius. If you do not call the setExplosion(value) method, the API uses 0.