Class StockChartCrosshairSettings
Inherited Members
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartCrosshairSettings : EJTagHelper
Constructors
StockChartCrosshairSettings()
Declaration
public StockChartCrosshairSettings()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
DashArray
DashArray for crosshair.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Enable
If set to true, crosshair line becomes visible.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
HorizontalLineColor
The color of the border that accepts value in hex and rgba as a valid CSS color string.
Declaration
public string HorizontalLineColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Line
Options to customize the crosshair line.
Declaration
public StockChartCrosshairLine Line { get; set; }
Property Value
Type | Description |
---|---|
StockChartCrosshairLine | The default value is null |
LineType
Specifies the line type. Horizontal mode enables the horizontal line and Vertical mode enables the vertical line. They are, None: Hides both vertical and horizontal crosshair lines. Both: Shows both vertical and horizontal crosshair lines. Vertical: Shows the vertical line. Horizontal: Shows the horizontal line.
Declaration
public LineType LineType { get; set; }
Property Value
Type | Description |
---|---|
LineType | The default value is LineType.Both |
Opacity
The opacity for background.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
VerticalLineColor
The color of the border that accepts value in hex and rgba as a valid CSS color string.
Declaration
public string VerticalLineColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |