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

Function toScatterTuple

src/renderers/createScatterRenderer.ts:66–69  ·  view source on GitHub ↗
(point: DataPoint)

Source from the content-addressed store, hash-verified

64};
65
66const toScatterTuple = (point: DataPoint): ScatterPointTuple => {
67 if (isTupleDataPoint(point)) return point;
68 return [point.x, point.y, point.size] as const;
69};
70
71const computeDataBounds = (
72 data: ReadonlyArray<DataPoint>

Callers 1

prepareFunction · 0.70

Calls 1

isTupleDataPointFunction · 0.70

Tested by

no test coverage detected