class YAxisCrosshair extends Object
- Annotations
- @RawJSType() @ScalaJSDefined()
- Note
JavaScript name:
yAxis-crosshair
- Alphabetic
- By Inheritance
- YAxisCrosshair
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new YAxisCrosshair()
Value Members
-
val
className: UndefOr[String]
A class name for the crosshair, especially as a hook for styling.
A class name for the crosshair, especially as a hook for styling.
- Since
5.0.0
-
val
color: UndefOr[|[String, Object]]
The color of the crosshair.
The color of the crosshair. Defaults to
#cccccc
for numeric and datetime axes, andrgba(204,214,235,0.25)
for category axes, where the crosshair by default highlights the whole category.- Since
4.1
Example: -
val
dashStyle: UndefOr[String]
The dash style for the crosshair.
The dash style for the crosshair. See series.dashStyle for possible values.
- Since
4.1
Example: -
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
val
snap: UndefOr[Boolean]
Whether the crosshair should snap to the point or follow the pointer independent of points.
Whether the crosshair should snap to the point or follow the pointer independent of points.
- Since
4.1
Example: -
def
toLocaleString(): String
- Definition Classes
- Object
-
def
valueOf(): Any
- Definition Classes
- Object
-
val
width: UndefOr[Double]
The pixel width of the crosshair.
The pixel width of the crosshair. Defaults to 1 for numeric or datetime axes, and for one category width for category axes.
- Since
4.1
Example: -
val
zIndex: UndefOr[Double]
The Z index of the crosshair.
The Z index of the crosshair. Higher Z indices allow drawing the crosshair on top of the series or behind the grid lines.
- Since
4.1