Class PolarDataLabelSettings
The PolarDataLabelSettings class is used to customize the appearance of polar series data labels.
Inherited Members
Namespace: Syncfusion.Maui.Charts
Assembly: Syncfusion.Maui.Charts.dll
Syntax
public class PolarDataLabelSettings : ChartDataLabelSettings
Remarks
To customize data labels, create an instance of the PolarDataLabelSettings class and set it to the DataLabelSettings property of a polar series.
ShowDataLabels
Data labels can be added to a chart series by enabling the ShowDataLabels option.
<chart:SfPolarChart>
<!-- ... Eliminated for simplicity-->
<chart:PolarLineSeries ItemsSource ="{Binding Data}" XBindingPath="XValue" YBindingPath="YValue"
ShowDataLabels="True"/>
</chart:SfPolarChart>
Customization
To change the appearance of data labels, it offers LabelStyle options.
<chart:SfPolarChart>
<!-- ... Eliminated for simplicity-->
<chart:PolarLineSeries ItemsSource ="{Binding Data}" XBindingPath="XValue" YBindingPath="YValue"
ShowDataLabels="True">
<chart:PolarLineSeries.PolarDataLabelSettings>
<chart:PolarDataLabelSettings>
<chart:PolarDataLabelSettings.LabelStyle>
<chart:ChartDataLabelStyle Background = "Red" FontSize="14" TextColor="Black" />
</chart:PolarDataLabelSettings.LabelStyle>
</chart:PolarDataLabelSettings>
</chart:PolarLineSeries.PolarDataLabelSettings>
<chart:PolarLineSeries />
</chart:SfPolarChart>
Constructors
PolarDataLabelSettings()
Initializes a new instance of the PolarDataLabelSettings.
Declaration
public PolarDataLabelSettings()