MCPcopy Create free account
hub / github.com/ChartGPU/ChartGPU / zoomIn

Method zoomIn

src/interaction/createZoomState.ts:19–19  ·  view source on GitHub ↗

* Zooms in around `center` by shrinking the span by `factor`. * * `factor <= 1` is treated as a no-op.

(center: number, factor: number)

Source from the content-addressed store, hash-verified

17 * `factor <= 1` is treated as a no-op.
18 */
19 zoomIn(center: number, factor: number): void;
20 /**
21 * Zooms out around `center` by growing the span by `factor`.
22 *

Callers 3

handlePointerEventFunction · 0.80
onWheelFunction · 0.80
zoom-state.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected