MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / getRange

Function getRange

examples/million-points/main.ts:312–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310
311 const createCoordinatorZoomStateLike = (): ZoomState => {
312 const getRange: ZoomState['getRange'] = () => coordinator?.getZoomRange() ?? { start: 0, end: 100 };
313 const setRange: ZoomState['setRange'] = (start, end) => coordinator?.setZoomRange(start, end);
314 const pan: ZoomState['pan'] = (delta) => {
315 const r = coordinator?.getZoomRange();

Callers

nothing calls this directly

Calls 1

getZoomRangeMethod · 0.65

Tested by

no test coverage detected