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