Class AdornmentSeries
Represents a ChartSeries that displays data in a customizable chart.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public abstract class AdornmentSeries : ChartSeries, ICloneable
Constructors
AdornmentSeries()
Declaration
protected AdornmentSeries()
Fields
AdornmentsInfoProperty
The DependencyProperty for AdornmentsInfo property.
Declaration
public static readonly DependencyProperty AdornmentsInfoProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
Properties
AdornmentsInfo
Gets or sets data labels for the series.
This allows us to customize the appearance of a data point by displaying labels, shapes and connector lines.
Declaration
public ChartAdornmentInfo AdornmentsInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| ChartAdornmentInfo | The ChartAdornmentInfo value. |
Methods
AddAdornmentAtXY(Double, Double, Int32)
Method implementation for add Adornments at XY.
Declaration
protected virtual void AddAdornmentAtXY(double x, double y, int pointindex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | xvalue |
| System.Double | y | yvalue |
| System.Int32 | pointindex | index |
AddAreaAdornments(IList<Double>[])
Method implementation for add AreaAdornments in Chart.
Declaration
protected virtual void AddAreaAdornments(params IList<double>[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IList<System.Double>[] | values | values |
AddColumnAdornments(Double[])
Method implementation for add ColumnAdornments in Chart.
Declaration
protected virtual void AddColumnAdornments(params double[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double[] | values | values |
ClearUnUsedAdornments(Int32)
Method implementation for clear unused adornments.
Declaration
protected void ClearUnUsedAdornments(int startIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | startIndex |
CloneSeries(DependencyObject)
Declaration
protected override DependencyObject CloneSeries(DependencyObject obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.UI.Xaml.DependencyObject | obj |
Returns
| Type |
|---|
| Windows.UI.Xaml.DependencyObject |
Overrides
CreateAdornment(AdornmentSeries, Double, Double, Double, Double)
Method implementation for create Adornments.
Declaration
protected virtual ChartAdornment CreateAdornment(AdornmentSeries series, double xVal, double yVal, double xPos, double yPos)
Parameters
| Type | Name | Description |
|---|---|---|
| AdornmentSeries | series | series |
| System.Double | xVal | xvalue |
| System.Double | yVal | yvalue |
| System.Double | xPos | xposition |
| System.Double | yPos | yposition |
Returns
| Type |
|---|
| 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. |
Overrides
See Also
Events
AdornmentLabelCreated
Occurs when the adornment labels is created. This event is used for internal purpose only.
Declaration
public event EventHandler<AdornmentLabelCreatedEventArgs> AdornmentLabelCreated
Event Type
| Type |
|---|
| System.EventHandler<AdornmentLabelCreatedEventArgs> |