Class StockChartCrosshairSettings
To specify customization options for stock chart crosshair.
Inheritance
System.Object
StockChartCrosshairSettings
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class StockChartCrosshairSettings : OwningComponentBase
Constructors
StockChartCrosshairSettings()
Declaration
public StockChartCrosshairSettings()
Properties
DashArray
DashArray for crosshair.
Declaration
public string DashArray { get; set; }
Property Value
Type |
---|
System.String |
Enable
If set to true, crosshair line becomes visible.
Declaration
public bool Enable { get; set; }
Property Value
Type |
---|
System.Boolean |
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 |
---|
LineType |
SnapToData
Gets or sets a value indicating whether the crosshair snapToData is enabled.
Declaration
public bool SnapToData { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true If set to |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |