Class CrosshairAxisInfo
Defines the crosshair axis information.
Inheritance
Namespace: Syncfusion.Blazor.Toolkit.Charts
Assembly: Syncfusion.Blazor.Toolkit.dll
Syntax
public class CrosshairAxisInfo : Object
Constructors
CrosshairAxisInfo(String, String, Object)
Initializes a new instance of the CrosshairAxisInfo class.
Declaration
public CrosshairAxisInfo(string axisName, string axisLabel, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | axisName | The name of the axis. |
| System.String | axisLabel | The label text of the axis at the intersection. |
| System.Object | value | The value from JSON that may be a number, date, or string. |
Properties
AxisLabel
Define the specific axis label.
Declaration
public string AxisLabel { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string representing the label of the axis. |
Remarks
This is a read-only property providing the label information of the axis crossed by the crosshair.
AxisName
Define the specific axis name.
Declaration
public string AxisName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string representing the name of the axis. |
Remarks
This is a read-only property providing the name of the axis crossed by the crosshair.
Value
Gets the value of the axis crossed by the crosshair lines.
Declaration
public object Value { get; }
Property Value
| Type | Description |
|---|---|
| System.Object | An object representing the value of the axis. The default value is null. |
Remarks
It is a read-only value providing the exact point value on the axis where the crosshair lines intersect.