Class StockChartStockEventBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
StockChartStockEventBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartStockEventBuilder : ControlBuilder
Constructors
StockChartStockEventBuilder()
Declaration
public StockChartStockEventBuilder()
StockChartStockEventBuilder(List<StockChartStockEvent>)
Declaration
public StockChartStockEventBuilder(List<StockChartStockEvent> collection)
Parameters
Methods
Add()
Declaration
Background(String)
The background of the stock event that accepts value in hex and rgba as a valid CSS color string.
Declaration
public StockChartStockEventBuilder Background(string background)
Parameters
Type |
Name |
Description |
System.String |
background |
|
Returns
Border(StockChartStockEventsBorder)
Options to customize the border of the stock events.
Declaration
public StockChartStockEventBuilder Border(StockChartStockEventsBorder border)
Parameters
Returns
Border(Action<StockChartBorderBuilder>)
Declaration
public StockChartStockEventBuilder Border(Action<StockChartBorderBuilder> border)
Parameters
Returns
Date(Object)
Date value of stock event in which stock event shows.
Declaration
public StockChartStockEventBuilder Date(object date)
Parameters
Type |
Name |
Description |
System.Object |
date |
|
Returns
Description(String)
Specifies the description for the chart which renders in tooltip for stock event.
Declaration
public StockChartStockEventBuilder Description(string description)
Parameters
Type |
Name |
Description |
System.String |
description |
|
Returns
PlaceAt(String)
Corresponding values in which stock event placed.
Close
Open
High
Close
Declaration
public StockChartStockEventBuilder PlaceAt(string placeAt)
Parameters
Type |
Name |
Description |
System.String |
placeAt |
|
Returns
SeriesIndexes(Double[])
To render stock events in particular series.
By default stock events will render for all series.
Declaration
public StockChartStockEventBuilder SeriesIndexes(double[] seriesIndexes)
Parameters
Type |
Name |
Description |
System.Double[] |
seriesIndexes |
|
Returns
ShowOnSeries(Boolean)
Enables the stock events to be render on series. If it disabled, stock event rendered on primaryXAxis.
Declaration
public StockChartStockEventBuilder ShowOnSeries(bool showOnSeries)
Parameters
Type |
Name |
Description |
System.Boolean |
showOnSeries |
|
Returns
Text(String)
Specifies the text for the stock chart text.
Declaration
public StockChartStockEventBuilder Text(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
TextStyle(StockChartStockEventsTextStyle)
Options to customize the styles for stock events text.
Declaration
public StockChartStockEventBuilder TextStyle(StockChartStockEventsTextStyle textStyle)
Parameters
Returns
TextStyle(Action<StockChartFontBuilder>)
Declaration
public StockChartStockEventBuilder TextStyle(Action<StockChartFontBuilder> textStyle)
Parameters
Returns
Type(FlagType)
Specifies type of stock events
Circle
Square
Flag
Text
Sign
Triangle
InvertedTriangle
ArrowUp
ArrowDown
ArrowLeft
ArrowRight
Declaration
public StockChartStockEventBuilder Type(FlagType type)
Parameters
Returns