Gets or sets custom labels for pie pieces or pie legend. Namespace: MindFusion.Charting.Wpf
|
C#
![]() |
---|
public IList Labels { get; set; } |
Visual Basic
![]() |
---|
Public Property Labels As IList |
A list with objects. Default is a list with five labels e.g. new string[] { "Jan", "Feb", "March", "April", "May" }.
The Labels property specifies custom labels for the PieSeries. If there is a legend, they are drawn as items in the legend. If the InnerLabelType or OuterLabelType propertiy is set to LabelType.CustomText the labels are drawn inside or outside pie pieces.
Objects of any type are accepted. They are converted to string-s using the standard WPF ToString() method.