Gets or sets the position of detached slices. This is a dependency property.
Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf
C#
![]() |
---|
public DoubleCollection DetachedSlicesList { get; set; } |
Visual Basic
![]() |
---|
Public Property DetachedSlicesList As DoubleCollection |
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.
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.
The following code shows how to detach the third and fifth slices in a pie with 6 values.
C#
![]() |
---|
series.Data = new DoubleCollection() { 26, 33, 27, 17, 20, 18 }; |
Visual Basic
![]() |
---|
series.Data = New DoubleCollection() From {26, 33, 27, 17, 20, 18} |