Class LineAnnotation
This class is used to add a line annotation in SfChart. An instance of this class need to be added to ChartAnnotations collection.
Inheritance
System.Object
LineAnnotation
Inherited Members
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class LineAnnotation : ShapeAnnotation, IThemeElement
Remarks
LineAnnotation is used to add a line across the chart area.
Examples
SfChart chart = new SfChart();
LineAnnotation line = new LineAnnotation();
chart.ChartAnnotations.Add(line);
Constructors
LineAnnotation()
Initializes a new instance of the LineAnnotation class.
Declaration
public LineAnnotation()
Fields
LineCapProperty
Gets or sets the ChartLineCap enum for line annotation. This is a bindable property.
Declaration
public static readonly BindableProperty LineCapProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
LineCap
Gets or sets the ChartLineCap enum for line annotation. This is a bindable property.
Declaration
public ChartLineCap LineCap { get; set; }
Property Value
Type | Description |
---|---|
ChartLineCap | This property takes the LineCap value. |