CrosshairRenderArgs class

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.
no setterinherited
lineColor Color
Get and set the color of the crosshair line.
getter/setter pair
orientation AxisOrientation?
Get the axis orientation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Get and set the crosshair tooltip text.
getter/setter pair
value → dynamic
Get the visible range value.
final

Methods

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

Operators

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