MCPcopy Create free account
hub / github.com/tinyplex/tinybase / getTickCount

Function getTickCount

src/ui-react-dom-charts/common/wilkinson.ts:91–92  ·  view source on GitHub ↗
(tickCount = TARGET_TICKS)

Source from the content-addressed store, hash-verified

89type TimeInterval = readonly [unit: TimeUnit, step: number];
90
91export const getTickCount = (tickCount = TARGET_TICKS) =>
92 isFiniteNumber(tickCount) ? mathMax(mathRound(tickCount), 1) : TARGET_TICKS;
93
94export const getTicks = (
95 min: number,

Callers 3

CartesianChartFunction · 0.90
getYTicksFunction · 0.90
getXTicksFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…