ASP.NET MVC - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartAnnotation - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartAnnotation

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    ChartAnnotation
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartAnnotation : EJTagHelper

    Constructors

    ChartAnnotation()

    Declaration
    public ChartAnnotation()

    Properties

    Content

    Content of the annotation, which accepts the id of the custom element.

    Declaration
    [HtmlAttributeName("content")]
    public string Content { get; set; }
    Property Value
    Type Description
    System.String

    CoordinateUnits

    Specifies the coordinate units of the annotation. They are Pixel - Annotation renders based on x and y pixel value. Point - Annotation renders based on x and y axis value.

    Declaration
    [HtmlAttributeName("coordinateUnits")]
    public Units CoordinateUnits { get; set; }
    Property Value
    Type Description
    Units

    Description

    Information about annotation for assistive technology.

    Declaration
    [HtmlAttributeName("description")]
    public string Description { get; set; }
    Property Value
    Type Description
    System.String

    HorizontalAlignment

    Specifies the alignment of the annotation. They are Near - Align the annotation element as left side. Far - Align the annotation element as right side. Center - Align the annotation element as mid point.

    Declaration
    [HtmlAttributeName("horizontalAlignment")]
    public Alignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    Alignment

    IsChild

    Declaration
    protected override bool IsChild { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsChild

    Region

    Specifies the regions of the annotation. They are Chart - Annotation renders based on chart coordinates. Series - Annotation renders based on series coordinates.

    Declaration
    [HtmlAttributeName("region")]
    public Regions Region { get; set; }
    Property Value
    Type Description
    Regions

    VerticalAlignment

    Specifies the position of the annotation. They are Top - Align the annotation element as top side. Bottom - Align the annotation element as bottom side. Middle - Align the annotation element as mid point.

    Declaration
    [HtmlAttributeName("verticalAlignment")]
    public Position VerticalAlignment { get; set; }
    Property Value
    Type Description
    Position

    X

    if set coordinateUnit as Pixel X specifies the axis value else is specifies pixel or percentage of coordinate

    Declaration
    [HtmlAttributeName("x")]
    public object X { get; set; }
    Property Value
    Type Description
    System.Object

    XAxisName

    The name of horizontal axis associated with the annotation. It requires axes of chart.

    Declaration
    [HtmlAttributeName("xAxisName")]
    public string XAxisName { get; set; }
    Property Value
    Type Description
    System.String

    Y

    if set coordinateUnit as Pixel Y specifies the axis value else is specifies pixel or percentage of coordinate

    Declaration
    [HtmlAttributeName("y")]
    public string Y { get; set; }
    Property Value
    Type Description
    System.String

    YAxisName

    The name of vertical axis associated with the annotation. It requires axes of chart.

    Declaration
    [HtmlAttributeName("yAxisName")]
    public string YAxisName { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved