Gets or sets the position of detached pieces. Namespace: MindFusion.Charting.Wpf
|
C#
![]() |
---|
public IList DetachedPiecesList { get; set; } |
Visual Basic
![]() |
---|
Public Property DetachedPiecesList As IList |
A list with numbers that correspond to the distance at which the piece is detached. Default value is an empty list.
Use the property to specify which pieces in the pie at what distance should be detached. Put zero-s at the place of the other pieces.
The following code shows how to detach the third and fifth piece in a pie with 6 values.
C#
![]() |
---|
series.Data = new double[] { 26, 33, 27, 17, 20, 18 }; |