CrosshairRenderArgs class Null safety

Holds the onCrosshairPositionChanging event arguments.

CrosshairRenderArgs is the type of Argument to the onCrosshairPositionChanging event, whenever the crosshair position is changed, the onCrosshairPositionChanging event is triggered and provides options to customize the text, line color.

It has the public properties of text, line color, axis, axis name, value, and orientation.

Constructors

CrosshairRenderArgs([ChartAxis? axis, dynamic value, String? axisName, AxisOrientation? orientation])
Creating an argument constructor of CrosshairRenderArgs class.

Properties

axis ChartAxis?
Get the type of chart axis and its properties.
final
axisName String?
Get the name of the axis.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
lineColor Color
Get and set the color of the crosshair line.
read / write
orientation AxisOrientation?
Get the axis orientation.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
Get and set the crosshair tooltip text.
read / write
value → dynamic
Get the visible range value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited