Class VerticalLineAnnotation
Inherited Members
Namespace: Com.Syncfusion.Charts
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class VerticalLineAnnotation : LineAnnotation
Constructors
VerticalLineAnnotation()
Declaration
public VerticalLineAnnotation()
Properties
AxisLabelStyle
Gets the customized style for the annotation axis label by using ChartAxisLabelStyle.
Declaration
public ChartAxisLabelStyle AxisLabelStyle { get; }
Property Value
Type | Description |
---|---|
ChartAxisLabelStyle | The axis label style. |
ShowAxisLabel
Gets or sets a value indicating whether axis label shows or not in annotation.
Declaration
public bool ShowAxisLabel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | This property takes boolean value. |
Methods
AxisLabelStyle_PropertyChanged(Object, PropertyChangedEventArgs)
Declaration
public void AxisLabelStyle_PropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
System.ComponentModel.PropertyChangedEventArgs | e |
Draw(Canvas)
Method used to draw annotation in chart area.
Declaration
protected override void Draw(Canvas context)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.Canvas | context | The context. |
Overrides
DrawAxisLabel(Canvas, String, Double, Double)
Draws the axis label.
Declaration
protected virtual void DrawAxisLabel(Canvas context, string label, double pointX, double pointY)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.Canvas | context | The context. |
System.String | label | The label. |
System.Double | pointX | The x coordinate. |
System.Double | pointY | The y coordinate. |
DrawAxisLabelBackground(Canvas, RectangleF)
Draws the axis label background.
Declaration
protected virtual void DrawAxisLabelBackground(Canvas context, RectangleF rect)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.Canvas | context | The rectangle. |
System.Drawing.RectangleF | rect | The context. |