Class PolarSeries
It is the base class for all types of polar series.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.Chart.WinUI.dll
Syntax
public abstract class PolarSeries : ChartSeries, INotifyPropertyChanged
Constructors
PolarSeries()
Initializes a new instance of the
Declaration
public PolarSeries()
Fields
DataLabelSettingsProperty
Identifies the DataLabelSettings dependency property.
Declaration
public static readonly DependencyProperty DataLabelSettingsProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for |
IsClosedProperty
Identifies the IsClosed dependency property.
Declaration
public static readonly DependencyProperty IsClosedProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for IsClosed dependency property. |
StrokeDashArrayProperty
Identifies the StrokeDashArray dependency property.
Declaration
public static readonly DependencyProperty StrokeDashArrayProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for StrokeDashArray dependency property. |
StrokeProperty
The DependencyProperty for Stroke property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
StrokeWidthProperty
The DependencyProperty for StrokeWidth property.
Declaration
public static readonly DependencyProperty StrokeWidthProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
YBindingPathProperty
Identifies the YBindingPath dependency property.
Declaration
public static readonly DependencyProperty YBindingPathProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for YBindingPath dependency property. |
Properties
DataLabelSettings
Gets or sets a value to customize the appearance of the displaying data labels in the polar series.
Declaration
public PolarDataLabelSettings DataLabelSettings { get; set; }
Property Value
Type | Description |
---|---|
PolarDataLabelSettings | It takes the PolarDataLabelSettings. |
Remarks
This allows us to change the look of a data point by displaying labels, shapes, and connector lines.
Examples
<chart:SfPolarChart>
<!--omitted for brevity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
ShowDataLabels="True">
<syncfusion:PolarAreaSeries.DataLabelSettings>
<chart:PolarDataLabelSettings />
<syncfusion:PolarAreaSeries.DataLabelSettings>
</chart:PolarAreaSeries>
</chart:SfPolarChart>
IsClosed
Gets or sets a value indicating whether the area path for the polar series should be closed or opened.
Declaration
public bool IsClosed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | It accepts bool values and its default value is |
Remarks
If its true
, series path will be closed; otherwise opened.
Examples
<chart:SfPolarChart>
<!--omitted for brevity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
IsClosed="True"/>
</chart:SfPolarChart>
Stroke
Gets or sets a value to customize the stroke appearance of a chart series.
Declaration
public Brush Stroke { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.Media.Brush | It accepts Microsoft.UI.Xaml.Media.Brush values and its default value is null. |
Examples
<chart:SfPolarChart>
<!-- ... Eliminated for simplicity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
Stroke = "Red"
StrokeWidth = "3"/>
</chart:SfPolarChart>
StrokeDashArray
Gets or sets the Microsoft.UI.Xaml.Media.DoubleCollection value for stroke dash array to customize the stroke appearance of PolarSeries.
Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.Media.DoubleCollection | It takes Microsoft.UI.Xaml.Media.DoubleCollection value and the default value is null. |
Examples
<chart:SfPolarChart>
<!--omitted for brevity-->
<chart:PolarLineSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
StrokeDashArray="5,3"/>
</chart:SfPolarChart>
StrokeWidth
Gets or sets a value to specify the stroke thickness of a chart series.
Declaration
public double StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It accepts double values and its default value is 2. |
Examples
<chart:SfPolarChart>
<!-- ... Eliminated for simplicity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
Stroke = "Red"
StrokeWidth = "3"/>
</chart:SfPolarChart>
YBindingPath
Gets or sets a path value on the source object to serve a y value to the series.
Declaration
public string YBindingPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the property name for the y plotting data, and its default value is null. |
Examples
<chart:SfPolarChart>
<!--omitted for brevity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"/>
</chart:SfPolarChart>
Methods
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
Overrides
OnTapped(TappedRoutedEventArgs)
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.TappedRoutedEventArgs | e |