Class XyDataSeries
Class implementation for XyDataseries
Inheritance
System.Object
XyDataSeries
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public abstract class XyDataSeries : CartesianSeries, ICloneable, ISupportAxes2D, ISupportAxes
Constructors
XyDataSeries()
Called when instance created for XyDataSeries
Declaration
public XyDataSeries()
Fields
YBindingPathProperty
The DependencyProperty for YBindingPath property. .
Declaration
public static readonly DependencyProperty YBindingPathProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
YBindingPath
Gets or sets the property name that associates the secondary axis with a property in the itemssource.
Declaration
public string YBindingPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the property name for secondary axis. The default value is null. |
Examples
<chart:SfChart>
<chart:SfChart.PrimaryAxis>
<chart:NumericalAxis/>
</chart:SfChart.PrimaryAxis>
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis/>
</chart:SfChart.SecondaryAxis>
<chart:ColumnSeries
ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"/>
</chart:SfChart>
YValues
Gets or sets the y values collection.
Declaration
protected IList<double> YValues { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IList<System.Double> |
Methods
CloneSeries(DependencyObject)
Returns the instance of XyDataSeries series.
Declaration
protected override DependencyObject CloneSeries(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | object |
Returns
Type |
---|
Windows.UI.Xaml.DependencyObject |
Overrides
GeneratePoints()
Method for Generate Points for XYDataSeries
Declaration
protected override void GeneratePoints()
Overrides
OnBindingPathChanged(DependencyPropertyChangedEventArgs)
Invoked when XBindingPath or YBindingPath properties changed.
Declaration
protected override void OnBindingPathChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args | The Windows.UI.Xaml.DependencyPropertyChangedEventArgs that contains the event data |
Overrides
OnDataSourceChanged(IEnumerable, IEnumerable)
Invoked when ItemsSource property changed.
Declaration
protected override void OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | oldValue | Old itemssource collection. |
System.Collections.IEnumerable | newValue | New itemssource collection. |