Implements

Constructors

Methods

  • Adopt the layer under this one. From then on this layer paints the handles of both and answers hitTest for both, and the adopted layer paints bodies only. Handles have to live up here: a selected drawing under the series would otherwise have its handles buried under the candles, and a handle you cannot see is a handle you cannot grab. Pass null to release.

    Parameters

    Returns void

  • The drawing under the pointer. Its handles paint at a lighter weight than a selection's, as the hint that it can be grabbed. Repaints only from the layer that paints handles: the adopted bottom layer keeps the id for its own bookkeeping and asks for nothing, since its repaint costs the series.

    Parameters

    • id: null | string

    Returns void

  • Size the grab targets for the device in use. Touch doubles the radii; a mouse or a pen keeps the desktop sizes. The render context may carry the same fact (pointerType), and when it does that wins per call, so a first touch on a fresh chart is already sized right.

    Parameters

    Returns void

  • Parameters

    • ids: readonly string[]

    Returns void

  • The point the magnet will snap the next click to, or null when it is not pulling. Painted as a hollow ring so the user sees the anchor land before committing to it.

    Parameters

    Returns void