object YAxisCrosshairLabel
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- YAxisCrosshairLabel
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
apply(align: UndefOr[String] = js.undefined, backgroundColor: UndefOr[|[String, Object]] = js.undefined, borderColor: UndefOr[|[String, Object]] = js.undefined, borderRadius: UndefOr[Double] = js.undefined, borderWidth: UndefOr[Double] = js.undefined, format: UndefOr[String] = js.undefined, formatter: UndefOr[Function] = js.undefined, padding: UndefOr[Double] = js.undefined, shape: UndefOr[String] = js.undefined, style: UndefOr[Any] = js.undefined): YAxisCrosshairLabel
- align
Alignment of the label compared to the axis. Defaults to
left
for right-side axes,right
for left-side axes andcenter
for horizontal axes.- backgroundColor
The background color for the label. Defaults to the related series color, or
#666666
if that is not available.- borderColor
The border color for the crosshair label
- borderRadius
The border corner radius of the crosshair label.
- borderWidth
The border width for the crosshair label.
- format
A format string for the crosshair label. Defaults to
{value}
for numeric axes and{value:%b %d, %Y}
for datetime axes.- formatter
Formatter function for the label text.
- padding
Padding inside the crosshair label.
- shape
The shape to use for the label box.
- style
Text styles for the crosshair label.