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

Function normalizeAxisAutoBounds

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

Source from the content-addressed store, hash-verified

570};
571
572const normalizeAxisAutoBounds = (value: unknown): AxisConfig['autoBounds'] | undefined => {
573 if (typeof value !== 'string') return undefined;
574 const v = value.trim().toLowerCase();
575 return v === 'global' || v === 'visible' ? (v as AxisConfig['autoBounds']) : undefined;
576};
577
578const isTupleDataPoint = (p: DataPoint): p is DataPointTuple => Array.isArray(p);
579

Callers 1

resolveOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected