Skip to main content


Low level hooks used by other hooks but can also be used natively.

Currently we support the following basic hooks:


The low level hook useStartMoveEnd allows to track the mouse.

It accepts 3 callbacks:

  • onStart: the mouse was clicked
  • onMove: the mouse was dragged
  • onEnd: the mouse was released

In the following example we simply log different events.


The low level hook usePlotControllerAxes allows to track axis state (max, min) after any modification.

In the following example we simply log axes domain while using UseRectangularZoom.