Xamarin.iOS

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartAnnotation - Xamarin.iOS API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartAnnotation

    Inheritance
    System.Object
    ChartAnnotation
    ShapeAnnotation
    TextAnnotation
    ViewAnnotation
    Namespace: Syncfusion.SfChart.iOS
    Assembly: Syncfusion.SFChart.iOS.dll
    Syntax
    public abstract class ChartAnnotation : Object

    Constructors

    ChartAnnotation()

    Declaration
    public ChartAnnotation()

    Properties

    CoordinateUnit

    Gets or sets the ChartCoordinateUnit enum that represents whether annotation is draw on pixel co-ordinates or axis co-ordinates.

    Declaration
    public ChartCoordinateUnit CoordinateUnit { get; set; }
    Property Value
    Type Description
    ChartCoordinateUnit

    The co-ordinate point for Annotation.

    Visible

    Gets or sets a value indicating whether the annotation is visible in the chart.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    X1

    Gets or sets the date time or double that represents x1 position of annotation.

    Declaration
    public object X1 { get; set; }
    Property Value
    Type Description
    System.Object

    The x1.

    XAxisName

    Gets or sets the string value that represents name of the x axis.

    Declaration
    public string XAxisName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the X Axis.

    Y1

    Gets or sets the double that represents y1 position of annotation.

    Declaration
    public double Y1 { get; set; }
    Property Value
    Type Description
    System.Double

    The y1.

    YAxisName

    Gets or sets the string value that represents name of the y axis.

    Declaration
    public string YAxisName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the Y Axis.

    Methods

    Draw(CGContext)

    Method used to draw annotation in chart area.

    Declaration
    protected virtual void Draw(CGContext context)
    Parameters
    Type Name Description
    CoreGraphics.CGContext context

    The context.

    GetView()

    Gets the view for annotation.

    Declaration
    protected virtual ChartAnnotationView GetView()
    Returns
    Type Description
    ChartAnnotationView

    The view.

    Remarks

    This is not applicable for ViewAnnotation Class

    TouchBegan(NSSet, UIEvent)

    Tells the receiver when the finger touches annotation.

    Declaration
    protected virtual void TouchBegan(NSSet touches, UIEvent uiEvent)
    Parameters
    Type Name Description
    Foundation.NSSet touches

    A set of UITouch instances that represent the touches for the starting phase of the event represented by event.

    UIKit.UIEvent uiEvent

    An object representing the event to which the touches belong.

    TouchCancelled(NSSet, UIEvent)

    Tells the receiver when a touch is cancelled in annotation.

    Declaration
    protected virtual void TouchCancelled(NSSet touches, UIEvent uiEvent)
    Parameters
    Type Name Description
    Foundation.NSSet touches

    A set of UITouch instances that represent the touches for the ending phase of the event represented by event.

    UIKit.UIEvent uiEvent

    An object representing the event to which the touches belong.

    TouchEnded(NSSet, UIEvent)

    Tells the receiver when the finger releases touch in annotation.

    Declaration
    protected virtual void TouchEnded(NSSet touches, UIEvent uiEvent)
    Parameters
    Type Name Description
    Foundation.NSSet touches

    A set of UITouch instances that represent the touches for the ending phase of the event represented by event.

    UIKit.UIEvent uiEvent

    An object representing the event to which the touches belong.

    TouchMove(NSSet, UIEvent)

    Tells the receiver when the finger associates with an event move within an annotation.

    Declaration
    protected virtual void TouchMove(NSSet touches, UIEvent uiEvent)
    Parameters
    Type Name Description
    Foundation.NSSet touches

    A set of UITouch instances that represent the touches that are moving during the event represented by event.

    UIKit.UIEvent uiEvent

    An object representing the event to which the touches belong

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