Class XYDataSeries
Serves as the base class for Y-range based Cartesian series.
Inheritance
System.Object
XYDataSeries
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public abstract class XYDataSeries : CartesianSeries, IDatapointSelectionDependent, ITooltipDependent, IDataTemplateDependent
Constructors
XYDataSeries()
Initializes a new instance of the XYDataSeries.
Declaration
protected XYDataSeries()
Fields
StrokeWidthProperty
Identifies the StrokeWidth bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The StrokeWidth property determines the thickness of the stroke in the series.
YBindingPathProperty
Identifies the YBindingPath bindable property.
Declaration
public static readonly BindableProperty YBindingPathProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The YBindingPath property specifies the Y-values in the XYDataSeries.
Properties
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 |
Remarks
The value needs to be greater than zero.
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:LineSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
StrokeWidth = "3" />
</chart:SfCartesianChart>
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 |