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

Function setRange

src/interaction/createZoomState.ts:215–217  ·  view source on GitHub ↗
(nextStart, nextEnd)

Source from the content-addressed store, hash-verified

213 const getRange: ZoomState['getRange'] = () => ({ start, end });
214
215 const setRange: ZoomState['setRange'] = (nextStart, nextEnd) => {
216 applyNextRange(nextStart, nextEnd);
217 };
218
219 const setRangeAnchored: ZoomStateWithConstraints['setRangeAnchored'] = (nextStart, nextEnd, anchor) => {
220 applyNextRange(nextStart, nextEnd, { anchor: toAnchor(nextStart, nextEnd, anchor) });

Callers

nothing calls this directly

Calls 1

applyNextRangeFunction · 0.85

Tested by

no test coverage detected