MCPcopy Index your code
hub / github.com/tinyplex/tinybase / getDomain

Function getDomain

src/ui-react-dom-charts/common/data.ts:389–392  ·  view source on GitHub ↗
(values: number[])

Source from the content-addressed store, hash-verified

387 ]);
388
389const getDomain = (values: number[]): Domain => {
390 const min = mathMin(...values);
391 return min == infinity ? [0, 0] : [min, mathMax(...values)];
392};
393
394const getContinuousXValue = (
395 xValue: XValue,

Callers 3

getBoundsFunction · 0.70
getXScaleDomainFunction · 0.70
getYDomainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…