Class DataMarkerSeries
Represents a ChartSeries that displays data in a customizable chart.
Inheritance
System.Object
DataMarkerSeries
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.Chart.WinUI.dll
Syntax
public abstract class DataMarkerSeries : ChartSeries
Constructors
DataMarkerSeries()
Declaration
protected DataMarkerSeries()
Fields
ShowDataLabelsProperty
Identifies the ShowDataLabels dependency property.
Declaration
public static readonly DependencyProperty ShowDataLabelsProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for |
Properties
ShowDataLabels
Gets or sets a value that indicates to enable the data labels for the series.
Declaration
public bool ShowDataLabels { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | It takes the bool value and its default value is false. |
Methods
ClearUnUsedAdornments(Int32)
Method implementation for clear unused adornments.
Declaration
protected void ClearUnUsedAdornments(int startIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | startIndex |
CreateDataMarker(DataMarkerSeries, Double, Double, Double, Double)
Method implementation for create DataMarkers.
Declaration
protected virtual ChartDataLabel CreateDataMarker(DataMarkerSeries series, double xVal, double yVal, double xPos, double yPos)
Parameters
Type | Name | Description |
---|---|---|
DataMarkerSeries | series | series |
System.Double | xVal | xvalue |
System.Double | yVal | yvalue |
System.Double | xPos | xposition |
System.Double | yPos | yposition |
Returns
Type | Description |
---|---|
ChartDataLabel | ChartAdornment |
CreateSegments()
An abstract method which will be called over to create segments.
Declaration
public override void CreateSegments()
Overrides
GeneratePoints()
Method implementation for GeneratePoints for series.
Declaration
protected override void GeneratePoints()
Overrides
OnApplyTemplate()
Called this method when Adornments render on Series.
Declaration
protected override void OnApplyTemplate()
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. |