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

Function getSize

src/data/sampleSeries.ts:13–16  ·  view source on GitHub ↗
(point: DataPoint)

Source from the content-addressed store, hash-verified

11}
12
13function getSize(point: DataPoint): number | undefined {
14 if (isTupleDataPoint(point)) return point[2];
15 return point.size;
16}
17
18function clampTargetPoints(targetPoints: number): number {
19 const t = Math.floor(targetPoints);

Callers 1

sampleByBucketsFunction · 0.85

Calls 1

isTupleDataPointFunction · 0.70

Tested by

no test coverage detected