Class HorizontalLineAnnotation
Inherited Members
Namespace: Syncfusion.SfChart.iOS
Assembly: Syncfusion.SFChart.iOS.dll
Syntax
public class HorizontalLineAnnotation : LineAnnotation
Constructors
HorizontalLineAnnotation()
Declaration
public HorizontalLineAnnotation()
Properties
AxisLabelStyle
Gets the customized style for the annotation axis label by using SFAxisLabelStyle.
Declaration
public SFAxisLabelStyle AxisLabelStyle { get; }
Property Value
| Type | Description |
|---|---|
| SFAxisLabelStyle | 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
Draw(CGContext)
Method used to draw annotation in chart area.
Declaration
protected override void Draw(CGContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CoreGraphics.CGContext | context | The context. |
Overrides
DrawAxisLabel(CGContext, String, Double, Double)
Draws the axis label.
Declaration
protected virtual void DrawAxisLabel(CGContext context, string label, double pointX, double pointY)
Parameters
| Type | Name | Description |
|---|---|---|
| CoreGraphics.CGContext | context | The context. |
| System.String | label | The label. |
| System.Double | pointX | The x coordinate. |
| System.Double | pointY | The y coordinate. |
DrawAxisLabelBackground(CGContext, RectangleF)
Draws the axis label background.
Declaration
protected virtual void DrawAxisLabelBackground(CGContext context, RectangleF rect)
Parameters
| Type | Name | Description |
|---|---|---|
| CoreGraphics.CGContext | context | The context. |
| System.Drawing.RectangleF | rect | The rectangle. |