Skip to content

Documentation / @finchart/tools / DrawingPane

Type Alias: DrawingPane ​

DrawingPane = PaneDecorationHost & ValueCoordinates & DataProbe

Defined in: tools/src/tools.ts:35

What the toolbox requires from the pane — it just needs to mount a decoration, translate value coordinates, and answer what bar sits under the cursor (probe — snapping's candidates).

Doesn't take a yScale: taking setDomain would let the toolbox push the value axis around.