Back to Devexpress

PieSeriesViewBase.ExplodedDistancePercentage Property

corelibraries-devexpress-dot-xtracharts-dot-pieseriesviewbase-eab7ed2d.md

latest3.1 KB
Original Source

PieSeriesViewBase.ExplodedDistancePercentage Property

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

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public double ExplodedDistancePercentage { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Layout)>
Public Property ExplodedDistancePercentage As Double

Property Value

TypeDescription
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

csharp
((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

vb
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

vb
CType(series1.View, DoughnutSeriesView).ExplodedPoints.Add(series1.Points(0))
CType(series1.View, DoughnutSeriesView).ExplodedDistancePercentage = 30
' Access the diagram's options.

See Also

PieSeriesViewBase Class

PieSeriesViewBase Members

DevExpress.XtraCharts Namespace