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

Function normalizeScatterMode

src/config/OptionResolver.ts:507–511  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

505};
506
507const normalizeScatterMode = (value: unknown): NonNullable<ScatterSeriesConfig['mode']> | undefined => {
508 if (typeof value !== 'string') return undefined;
509 const v = value.trim().toLowerCase();
510 return v === 'points' || v === 'density' ? (v as NonNullable<ScatterSeriesConfig['mode']>) : undefined;
511};
512
513const normalizeDensityNormalization = (
514 value: unknown

Callers 1

resolveOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected