MindFusion.Wpf Pack Programmer's Guide
PieSeries.DetachedSlicesList Property
See Also
 





Gets or sets the position of detached slices. This is a dependency property.

Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf

 Syntax

C#  Copy Code

public DoubleCollection DetachedSlicesList { get; set; }

Visual Basic  Copy Code

Public Property DetachedSlicesList As DoubleCollection

 Property Value

A WPF DoubleCollection with numbers that correspond to the distance at which detached slices are offset from the pie. The default value is an empty collection.

 Remarks

Use this property to specify which slices of the pie are detached and at what distance. Put zeros at the place of the other slices.

 Example

The following code shows how to detach the third and fifth slices in a pie with 6 values.

C#  Copy Code

series.Data = new DoubleCollection() { 26, 33, 27, 17, 20, 18 };
series.DetachedSlicesList = new DoubleCollection() { 0, 0, 10, 0, 20, 0 };

Visual Basic  Copy Code

series.Data = New DoubleCollection() From {26, 33, 27, 17, 20, 18}
series.DetachedSlicesList = New DoubleCollection() From {0, 0, 10, 0, 20, 0}

 See Also

PieSeries Members
PieSeries Class
MindFusion.Charting.Wpf Namespace