Class StockChart
Inheritance
System.Object
StockChart
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChart : EJTagHelper
Constructors
StockChart()
Declaration
Properties
Annotations
The configuration for annotation in chart.
Declaration
public List<StockChartAnnotationSettings> Annotations { get; set; }
Property Value
Axes
Secondary axis collection for the stockChart.
Declaration
public List<StockChartStockChartAxis> Axes { get; set; }
Property Value
AxisLabelRender
Triggers before each axis label is rendered.
Declaration
public string AxisLabelRender { get; set; }
Property Value
Type |
Description |
System.String |
|
Background
The background color of the stockChart that accepts value in hex and rgba as a valid CSS color string.
Declaration
public string Background { get; set; }
Property Value
Type |
Description |
System.String |
|
Border
Options for customizing the color and width of the stockChart border.
Declaration
public StockChartChartBorder Border { get; set; }
Property Value
ChartArea
Options for configuring the border and background of the stockChart area.
Declaration
public StockChartChartArea ChartArea { get; set; }
Property Value
ClassName
Declaration
protected override string ClassName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Crosshair
Options for customizing the crosshair of the chart.
Declaration
public StockChartCrosshairSettings Crosshair { get; set; }
Property Value
DataSource
Specifies the DataSource for the stockChart. It can be an array of JSON objects or an instance of DataManager.
Declaration
public object DataSource { get; set; }
Property Value
Type |
Description |
System.Object |
|
EnableCustomRange
Declaration
public bool EnableCustomRange { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnablePeriodSelector
It specifies whether the periodSelector to be rendered in financial chart
Declaration
public bool EnablePeriodSelector { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnablePersistence
Enable or disable persisting component's state between page reloads.
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableSelector
It specifies whether the range navigator to be rendered in financial chart
Declaration
public bool EnableSelector { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ExportType
It specifies the types of Export types in financial chart.
Declaration
public object ExportType { get; set; }
Property Value
Type |
Description |
System.Object |
|
Height
The height of the stockChart as a string accepts input both as '100px' or '100%'.
If specified as '100%, stockChart renders to the full height of its parent element.
Declaration
public string Height { get; set; }
Property Value
Type |
Description |
System.String |
|
HtmlAttributes
Allows additional HTML attributes such as title, name, etc., and
accepts n number of attributes in a key-value pair format.
Declaration
public object HtmlAttributes { get; set; }
Property Value
Type |
Description |
System.Object |
|
Indicators
Defines the collection of technical indicators, that are used in financial markets
Declaration
public List<StockChartStockChartIndicator> Indicators { get; set; }
Property Value
IndicatorType
It specifies the types of indicators in financial chart.
Declaration
public object IndicatorType { get; set; }
Property Value
Type |
Description |
System.Object |
|
IsFor
Declaration
protected override bool IsFor { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
IsMultiSelect
If set true, enables the multi selection in chart. It requires selectionMode
to be Point
| Series
| or Cluster
.
Declaration
public bool IsMultiSelect { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsSelect
If set true, enables the animation in chart.
Declaration
public bool IsSelect { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsTransposed
It specifies whether the stockChart should be render in transposed manner or not.
Declaration
public bool IsTransposed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Load
Triggers before the range navigator rendering
Declaration
public string Load { get; set; }
Property Value
Type |
Description |
System.String |
|
Loaded
Triggers after the range navigator rendering
Declaration
public string Loaded { get; set; }
Property Value
Type |
Description |
System.String |
|
Locale
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
Margin
Options to customize left, right, top and bottom margins of the stockChart.
Declaration
public StockChartChartMargin Margin { get; set; }
Property Value
NameSpace
Declaration
protected override string NameSpace { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
OnZooming
Triggers after the zoom selection is completed.
Declaration
public string OnZooming { get; set; }
Property Value
Type |
Description |
System.String |
|
Periods
To configure period selector options.
Declaration
public List<StockChartStockChartPeriod> Periods { get; set; }
Property Value
PointClick
Declaration
public string PointClick { get; set; }
Property Value
Type |
Description |
System.String |
|
PointMove
Declaration
public string PointMove { get; set; }
Property Value
Type |
Description |
System.String |
|
PrimaryXAxis
Options to configure the horizontal axis.
Declaration
public StockChartPrimaryXAxis PrimaryXAxis { get; set; }
Property Value
PrimaryYAxis
Options to configure the vertical axis.
Declaration
public StockChartPrimaryYAxis PrimaryYAxis { get; set; }
Property Value
RangeChange
Triggers if the range is changed
Declaration
public string RangeChange { get; set; }
Property Value
Type |
Description |
System.String |
|
Rows
Options to split stockChart into multiple plotting areas horizontally.
Each object in the collection represents a plotting area in the stockChart.
Declaration
public List<StockChartStockChartRow> Rows { get; set; }
Property Value
SelectedDataIndexes
Specifies the point indexes to be selected while loading a chart.
It requires selectionMode
to be Point
| Series
| or Cluster
.
Declaration
public List<StockChartStockChartSelectedDataIndex> SelectedDataIndexes { get; set; }
Property Value
SelectionMode
Specifies whether series or data point has to be selected. They are,
none: Disables the selection.
series: selects a series.
point: selects a point.
cluster: selects a cluster of point
dragXY: selects points by dragging with respect to both horizontal and vertical axes
dragX: selects points by dragging with respect to horizontal axis.
dragY: selects points by dragging with respect to vertical axis.
Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
SelectorRender
Triggers before render the selector
Declaration
public string SelectorRender { get; set; }
Property Value
Type |
Description |
System.String |
|
Series
The configuration for series in the stockChart.
Declaration
public List<StockChartStockChartSeries> Series { get; set; }
Property Value
SeriesRender
Triggers before the series is rendered.
Declaration
public string SeriesRender { get; set; }
Property Value
Type |
Description |
System.String |
|
SeriesType
It specifies the types of series in financial chart.
Declaration
public object SeriesType { get; set; }
Property Value
Type |
Description |
System.Object |
|
StockChartMouseClick
Triggers on clicking the stock chart.
Declaration
public string StockChartMouseClick { get; set; }
Property Value
Type |
Description |
System.String |
|
StockChartMouseDown
Declaration
public string StockChartMouseDown { get; set; }
Property Value
Type |
Description |
System.String |
|
StockChartMouseLeave
Triggers when cursor leaves the chart.
Declaration
public string StockChartMouseLeave { get; set; }
Property Value
Type |
Description |
System.String |
|
StockChartMouseMove
Triggers on hovering the stock chart.
Declaration
public string StockChartMouseMove { get; set; }
Property Value
Type |
Description |
System.String |
|
StockChartMouseUp
Declaration
public string StockChartMouseUp { get; set; }
Property Value
Type |
Description |
System.String |
|
StockEventRender
Triggers before the series is rendered.
Declaration
public string StockEventRender { get; set; }
Property Value
Type |
Description |
System.String |
|
StockEvents
The configuration for stock events in the stockChart.
Declaration
public List<StockChartStockEvent> StockEvents { get; set; }
Property Value
TagName
Declaration
protected override string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Theme
Specifies the theme for the stockChart.
Declaration
public ChartTheme Theme { get; set; }
Property Value
Title
Declaration
public string Title { get; set; }
Property Value
Type |
Description |
System.String |
|
TitleStyle
Options for customizing the title of the Chart.
Declaration
public StockChartTitleStyle TitleStyle { get; set; }
Property Value
Options for customizing the tooltip of the chart.
Declaration
public StockChartTooltipSettings Tooltip { get; set; }
Property Value
Triggers before the tooltip for series is rendered.
Declaration
public string TooltipRender { get; set; }
Property Value
Type |
Description |
System.String |
|
TrendlineType
It specifies the types of trendline types in financial chart.
Declaration
public object TrendlineType { get; set; }
Property Value
Type |
Description |
System.Object |
|
Width
The width of the stockChart as a string accepts input as both like '100px' or '100%'.
If specified as '100%, stockChart renders to the full width of its parent element.
Declaration
public string Width { get; set; }
Property Value
Type |
Description |
System.String |
|
ZoomSettings
Options to enable the zooming feature in the chart.
Declaration
public StockChartZoomSettings ZoomSettings { get; set; }
Property Value