Class PolarSeries
It is the base class for all types of polar series.
Inherited Members
Namespace: Syncfusion.Maui.Charts
Assembly: Syncfusion.Maui.Charts.dll
Syntax
public abstract class PolarSeries : ChartSeries, IDatapointSelectionDependent, ITooltipDependent, IDataTemplateDependent, IDrawCustomLegendIcon, IMarkerDependent
Constructors
PolarSeries()
Initializes a new instance of the PolarSeries
Declaration
public PolarSeries()
Fields
DataLabelSettingsProperty
Identifies the DataLabelSettings bindable property.
Declaration
public static readonly BindableProperty DataLabelSettingsProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
IsClosedProperty
Identifies the IsClosed bindable property.
Declaration
public static readonly BindableProperty IsClosedProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
LabelProperty
Identifies the Label bindable property.
Declaration
public static readonly BindableProperty LabelProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
MarkerSettingsProperty
Identifies the MarkerSettings bindable property.
Declaration
public static readonly BindableProperty MarkerSettingsProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
ShowMarkersProperty
Identifies the ShowMarkers bindable property.
Declaration
public static readonly BindableProperty ShowMarkersProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StrokeDashArrayProperty
Identifies the StrokeDashArray bindable property.
Declaration
public static readonly BindableProperty StrokeDashArrayProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StrokeWidthProperty
Identifies the StrokeWidth bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
YBindingPathProperty
Identifies the YBindingPath bindable property.
Declaration
public static readonly BindableProperty YBindingPathProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
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 the displaying labels content, and shapes.
Examples
<chart:SfPolarChart>
<chart:SfPolarChart.PrimaryAxis>
<chart:NumericalAxis/>
</chart:SfPolarChart.PrimaryAxis>
<chart:SfPolarChart.SecondaryAxis>
<chart:NumericalAxis/>
</chart:SfPolarChart.SecondaryAxis>
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
ShowDataLabels="True">
<chart:PolarAreaSeries.DataLabelSettings>
<chart:PolarDataLabelSettings LabelPlacement="Inner"/>
</chart: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 | If its |
Examples
<chart:SfPolarChart>
<!-- Eliminated for simplicity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
IsClosed="True"/>
</chart:SfPolarChart>
Label
Gets or sets a value displayed in the associated legend item.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String | It accepts a string value, and its default value is string.Empty. |
Examples
<chart:SfPolarChart>
<!-- ... Eliminated for simplicity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
Label = "PolarAreaSeries"/>
</chart:SfPolarChart>
MarkerSettings
Gets or sets the option for customize the series markers.
Declaration
public ChartMarkerSettings MarkerSettings { get; set; }
Property Value
Type | Description |
---|---|
ChartMarkerSettings | It accepts ChartMarkerSettings. |
Examples
<chart:SfPolarChart>
<!-- ... Eliminated for simplicity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
ShowMarkers="True">
<chart:PolarAreaSeries.MarkerSettings>
<chart:ChartMarkerSettings Fill="Red" Height="15" Width="15" />
</chart:PolarAreaSeries.MarkerSettings>
</chart:PolarAreaSeries>
</chart:SfPolarChart>
ShowMarkers
Gets or sets the value indicating whether to show markers for the series data point.
Declaration
public bool ShowMarkers { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | It accepts boolean values and its default value is false. |
Examples
<chart:SfPolarChart>
<!-- ... Eliminated for simplicity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
ShowMarkers="True"/>
</chart:SfPolarChart>
StrokeDashArray
Gets or sets the stroke dash array to customize the appearance of stroke.
Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.DoubleCollection | It accepts the Microsoft.Maui.Controls.DoubleCollection value and the default value is null. |
Examples
<chart:SfPolarChart>
<!-- ... Eliminated for simplicity-->
<chart:PolarLineSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
StrokeDashArray="5,3"
Stroke = "Red" />
</chart:SfPolarChart>
StrokeWidth
Gets or sets a value to specify the stroke width 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:PolarLineSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
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>
<!-- ... Eliminated for simplicity-->
<chart:PolarAreaSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue" />
</chart:SfPolarChart>
Methods
GetDataPointIndex(Single, Single)
Methods to get the index of data point.
Declaration
public override int GetDataPointIndex(float x, float y)
Parameters
Type | Name | Description |
---|---|---|
System.Single | x | |
System.Single | y |
Returns
Type |
---|
System.Int32 |
Overrides
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()