Gets or sets the position of detached slices. This is a dependency property.
Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf
C# Copy Code |
---|
public DoubleCollection DetachedSlicesList { get; set; } |
Visual Basic Copy Code |
---|
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# Copy Code |
---|
series.Data = new DoubleCollection() { 26, 33, 27, 17, 20, 18 }; |
Visual Basic Copy Code |
---|
series.Data = New DoubleCollection() From {26, 33, 27, 17, 20, 18} |