Class ChartCrosshairSettings
Options to customize the crosshair for the charts.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartCrosshairSettings : ChartSubComponent, ISubcomponentTracker
Constructors
ChartCrosshairSettings()
Declaration
public ChartCrosshairSettings()
Properties
DashArray
Specifies the dashArray for crosshair.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Enable
If set to true, crosshair line becomes visible.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Line
Options to customize the crosshair line.
Declaration
public ChartCrosshairLine Line { get; set; }
Property Value
Type | Description |
---|---|
ChartCrosshairLine |
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 |
Methods
OnInitialized()
Declaration
protected override void OnInitialized()