Skip to main content

ExplodedSeriesPointCollection.ToggleExplodedState(SeriesPoint) Method

Toggles the exploded state of the specified series point.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public void ToggleExplodedState(
    SeriesPoint point
)

Parameters

Name Type Description
point SeriesPoint

A SeriesPoint object which specifies the series point whose exploded state should be changed.

Remarks

If the specified series point is already exploded (it is present in the current ExplodedSeriesPointCollection), then this method removes the series point from this collection, and this series point becomes imploded.

If the specified series point isn’t exploded (it is not present in the current ExplodedSeriesPointCollection), then this method adds the series point to this collection, and this series point becomes exploded.

Note

Note that the exploded/imploded state can be toggled only for series points displayed using a pie or doughnut series view.

Note

If this ExplodedSeriesPointCollection instance is assigned to the PieSeriesViewBase.ExplodedPoints property of an existing series, then calling the ToggleExplodedState method will change the PieSeriesViewBase.ExplodeMode property to PieExplodeMode.UsePoints.

See Also