Packages

class YAxisCrosshair extends Object

Annotations
@RawJSType() @ScalaJSDefined()
Note

JavaScript name: yAxis-crosshair

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. YAxisCrosshair
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new YAxisCrosshair()

Value Members

  1. 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

  2. val color: UndefOr[|[String, Object]]

    The color of the crosshair.

    The color of the crosshair. Defaults to #cccccc for numeric and datetime axes, and rgba(204,214,235,0.25) for category axes, where the crosshair by default highlights the whole category.

    Since

    4.1

  3. 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

  4. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  5. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  6. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  7. 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.

    Example:
    1. True by default

    Since

    4.1

  8. def toLocaleString(): String
    Definition Classes
    Object
  9. def valueOf(): Any
    Definition Classes
    Object
  10. 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

  11. 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