Class ChartAnnotation
Inheritance
System.Object
ChartAnnotation
Inherited Members
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()
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartAnnotation : EJTagHelper
Constructors
ChartAnnotation()
Declaration
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
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
IsChild
Declaration
protected override bool IsChild { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
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
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
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 |
|