Class XyDataSeries
Inheritance
System.Object
XyDataSeries
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.Chart.WinUI.dll
Syntax
public abstract class XyDataSeries : CartesianSeries, INotifyPropertyChanged
Constructors
XyDataSeries()
Called when instance created for XyDataSeries
Declaration
public XyDataSeries()
Fields
StrokeWidthProperty
The DependencyProperty for StrokeWidth property.
Declaration
public static readonly DependencyProperty StrokeWidthProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
YBindingPathProperty
The DependencyProperty for YBindingPath property. .
Declaration
public static readonly DependencyProperty YBindingPathProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Properties
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:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:ColumnSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"
Stroke = "Red"
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 string that represents the property name for the y plotting data, and its default value is null. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:ColumnSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue" />
</chart:SfCartesianChart>
Implements
System.ComponentModel.INotifyPropertyChanged