Background that can be pointed at a direction (left,right,up or down)

Hierarchy

Methods

  • Get alignment of Label respective to tick line.

    Returns

    New TickStyle object with modified Label alignment

    Returns number

  • Set alignment of Label respective to tick line.

    after: -1

    center: 0

    before: +1

    With XY axes, a second alignment value can additionally be passed, which is used along the other dimension (i.e. X for Y axes).

    Returns

    New TickStyle object with modified Label alignment

    Parameters

    • alignment: number

      Label alignment [-1, 1].

    • Optional alignment2: number

      Opposite dimension label alignment [-1, 1], supported only by XY axes.

    Returns PointableBackground