Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class VerticalLineAnnotation

    Show / Hide Table of Contents

    Class VerticalLineAnnotation

    Inheritance
    System.Object
    ChartAnnotation
    ShapeAnnotation
    LineAnnotation
    VerticalLineAnnotation
    Inherited Members
    LineAnnotation.LineCap
    ShapeAnnotation.DrawLabel(CGContext, String, Double, Double)
    ShapeAnnotation.DrawLabelBackground(CGContext, RectangleF)
    ShapeAnnotation.X2
    ShapeAnnotation.Y2
    ShapeAnnotation.FillColor
    ShapeAnnotation.StrokeColor
    ShapeAnnotation.StrokeWidth
    ShapeAnnotation.StrokeDashArray
    ShapeAnnotation.Text
    ShapeAnnotation.LabelStyle
    ChartAnnotation.GetView()
    ChartAnnotation.MouseUp(CGPoint, NSEvent)
    ChartAnnotation.MouseDown(CGPoint, NSEvent)
    ChartAnnotation.MouseExited(CGPoint, NSEvent)
    ChartAnnotation.MouseMoved(CGPoint, NSEvent)
    ChartAnnotation.MouseEntered(CGPoint, NSEvent)
    ChartAnnotation.X1
    ChartAnnotation.Y1
    ChartAnnotation.XAxisName
    ChartAnnotation.YAxisName
    ChartAnnotation.CoordinateUnit
    ChartAnnotation.Visible
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class VerticalLineAnnotation : LineAnnotation

    Constructors

    VerticalLineAnnotation()

    Declaration
    public VerticalLineAnnotation()

    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

    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(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
    LineAnnotation.Draw(CGContext)

    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 rectangle.

    System.Drawing.RectangleF rect

    The context.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved