Class StockChartAnnotationSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
StockChartAnnotationSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartAnnotationSettingsBuilder : ControlBuilder
Constructors
StockChartAnnotationSettingsBuilder()
Declaration
public StockChartAnnotationSettingsBuilder()
StockChartAnnotationSettingsBuilder(List<StockChartAnnotationSettings>)
Declaration
public StockChartAnnotationSettingsBuilder(List<StockChartAnnotationSettings> collection)
Parameters
Methods
Add()
Declaration
Content(String)
Content of the annotation, which accepts the id of the custom element.
Declaration
public StockChartAnnotationSettingsBuilder Content(string content)
Parameters
Type |
Name |
Description |
System.String |
content |
|
Returns
CoordinateUnits(Units)
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 StockChartAnnotationSettingsBuilder CoordinateUnits(Units coordinateUnits)
Parameters
Type |
Name |
Description |
Units |
coordinateUnits |
|
Returns
Description(String)
Information about annotation for assistive technology.
Declaration
public StockChartAnnotationSettingsBuilder Description(string description)
Parameters
Type |
Name |
Description |
System.String |
description |
|
Returns
HorizontalAlignment(Alignment)
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 StockChartAnnotationSettingsBuilder HorizontalAlignment(Alignment horizontalAlignment)
Parameters
Type |
Name |
Description |
Alignment |
horizontalAlignment |
|
Returns
Region(Regions)
Specifies the regions of the annotation. They are
Chart - Annotation renders based on chart coordinates.
Series - Annotation renders based on series coordinates.
Declaration
public StockChartAnnotationSettingsBuilder Region(Regions region)
Parameters
Type |
Name |
Description |
Regions |
region |
|
Returns
VerticalAlignment(Position)
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 StockChartAnnotationSettingsBuilder VerticalAlignment(Position verticalAlignment)
Parameters
Type |
Name |
Description |
Position |
verticalAlignment |
|
Returns
X(Double)
if set coordinateUnit as Pixel
X specifies the axis value
else is specifies pixel or percentage of coordinate
Declaration
public StockChartAnnotationSettingsBuilder X(double x)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
Returns
X(String)
if set coordinateUnit as Pixel
X specifies the axis value
else is specifies pixel or percentage of coordinate
Declaration
public StockChartAnnotationSettingsBuilder X(string x)
Parameters
Type |
Name |
Description |
System.String |
x |
|
Returns
XAxisName(String)
The name of horizontal axis associated with the annotation.
It requires axes
of chart.
Declaration
public StockChartAnnotationSettingsBuilder XAxisName(string xAxisName)
Parameters
Type |
Name |
Description |
System.String |
xAxisName |
|
Returns
Y(Double)
if set coordinateUnit as Pixel
Y specifies the axis value
else is specifies pixel or percentage of coordinate
Declaration
public StockChartAnnotationSettingsBuilder Y(double y)
Parameters
Type |
Name |
Description |
System.Double |
y |
|
Returns
Y(String)
if set coordinateUnit as Pixel
Y specifies the axis value
else is specifies pixel or percentage of coordinate
Declaration
public StockChartAnnotationSettingsBuilder Y(string y)
Parameters
Type |
Name |
Description |
System.String |
y |
|
Returns
YAxisName(String)
The name of vertical axis associated with the annotation.
It requires axes
of chart.
Declaration
public StockChartAnnotationSettingsBuilder YAxisName(string yAxisName)
Parameters
Type |
Name |
Description |
System.String |
yAxisName |
|
Returns