PieSeries
Represents a radial series that renders each data item as a slice of a circle, sized proportionally to its bound value relative to the total of all values in the series.
Definition
Namespace:Telerik.Maui.Controls.Charts
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class PieSeries : ChartSeries
Inheritance: objectChartSeriesPieSeries
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the PieSeries class.
public PieSeries()
Fields
LabelBindingProperty
BindableProperty
Identifies the LabelBinding bindable property.
public static readonly BindableProperty LabelBindingProperty
LabelOffsetFractionProperty
BindableProperty
Identifies the LabelOffsetFraction bindable property.
public static readonly BindableProperty LabelOffsetFractionProperty
LabelStyleProperty
BindableProperty
Identifies the LabelStyle bindable property.
public static readonly BindableProperty LabelStyleProperty
ShowLabelsProperty
BindableProperty
Identifies the ShowLabels bindable property.
public static readonly BindableProperty ShowLabelsProperty
StrokeProperty
BindableProperty
Identifies the Stroke bindable property.
public static readonly BindableProperty StrokeProperty
StrokeThicknessProperty
BindableProperty
Identifies the StrokeThickness bindable property.
public static readonly BindableProperty StrokeThicknessProperty
ValueBindingProperty
BindableProperty
Identifies the ValueBinding bindable property.
public static readonly BindableProperty ValueBindingProperty
Properties
Gets or sets the name of the property on each data item, in ItemsSource, that provides the text displayed for its slice when ShowLabels is true. The property is resolved by name through reflection at layout time, so it must exactly match a public, readable member of the bound item type.
public string LabelBinding { get; set; }
Gets or sets the radial position of each slice's label, expressed as a fraction of the slice radius
measured from the center of the pie. A value of 1.0 places labels at the outer edge of the slices,
while smaller values move labels closer to the center. The value must lie in the (0, 1] interval;
the default is 0.7.
public double LabelOffsetFraction { get; set; }
LabelStyle
Style
Gets or sets the font and color settings applied to slice labels. Set to null (the default) to use the built-in appearance.
public Style? LabelStyle { get; set; }
Gets or sets a value indicating whether a text label is rendered for each slice. The default value is false.
public bool ShowLabels { get; set; }
Stroke
Brush
Gets or sets the brush used to paint slice outlines. Only solid-color brushes are supported. The default value is null.
public Brush? Stroke { get; set; }
Gets or sets the outline thickness in device-independent units. The default value of NaN uses the chart engine's default thickness.
public double StrokeThickness { get; set; }
Gets or sets the name of the property on each data item, in ItemsSource, that provides the numeric magnitude used to compute the proportional angle of its slice. The property is resolved by name through reflection at layout time, so it must exactly match a public, readable member of the bound item type.
public string ValueBinding { get; set; }