corelibraries-devexpress-dot-xtracharts-dot-pieseriesviewbase-eab7ed2d.md
Gets or sets the offset distance of slice from the pie center measured by a percentage of the pie radius.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public double ExplodedDistancePercentage { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Layout)>
Public Property ExplodedDistancePercentage As Double
| Type | Description |
|---|---|
| Double |
A Double value. It should be more than 1.0.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the ExplodedDistancePercentage property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-chart-create-a-3d-pie-chart/CS/3DPieChart/Form1.cs#L38
((Pie3DSeriesView)series1.View).ExplodedPoints.Add(series1.Points[0]);
((Pie3DSeriesView)series1.View).ExplodedDistancePercentage = 30;
winforms-chart-create-a-3d-pie-chart/VB/3DPieChart/Form1.vb#L36
CType(series1.View, Pie3DSeriesView).ExplodedPoints.Add(series1.Points(0))
CType(series1.View, Pie3DSeriesView).ExplodedDistancePercentage = 30
' Access the diagram's options.
winforms-chart-create-a-doughnut-chart/VB/Series_DoughnutChart/Form1.vb#L41
CType(series1.View, DoughnutSeriesView).ExplodedPoints.Add(series1.Points(0))
CType(series1.View, DoughnutSeriesView).ExplodedDistancePercentage = 30
' Access the diagram's options.
See Also