Class StockChartAnnotationSettings
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartAnnotationSettings : EJTagHelper
Constructors
StockChartAnnotationSettings()
Declaration
public StockChartAnnotationSettings()
Properties
Content
Content of the annotation, which accepts the id of the custom element.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
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
public Units CoordinateUnits { get; set; }
Property Value
Type | Description |
---|---|
Units | The default value is Units.Pixel |
Description
Information about annotation for assistive technology.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
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
public Alignment HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment | The default value is Alignment.Center |
Region
Specifies the regions of the annotation. They are Chart - Annotation renders based on chart coordinates. Series - Annotation renders based on series coordinates.
Declaration
public Regions Region { get; set; }
Property Value
Type | Description |
---|---|
Regions | The default value is Regions.Chart |
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
public Position VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
Position | The default value is Position.Middle |
X
if set coordinateUnit as Pixel
X specifies the axis value
else is specifies pixel or percentage of coordinate
Declaration
public string X { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "0" |
XAxisName
The name of horizontal axis associated with the annotation.
It requires axes
of chart.
Declaration
public string XAxisName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Y
if set coordinateUnit as Pixel
Y specifies the axis value
else is specifies pixel or percentage of coordinate
Declaration
public string Y { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "0" |
YAxisName
The name of vertical axis associated with the annotation.
It requires axes
of chart.
Declaration
public string YAxisName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |