Skip to content

Documentation / @ripl/charts / isTimeAxis

Function: isTimeAxis() ​

isTimeAxis(options): boolean

Defined in: charts/src/core/scales.ts:47

Whether the resolved axis options select the time scale family (a continuous axis over Date values with calendar-aligned ticks).

Parameters ​

ParameterTypeDescription
optionsChartAxisItemOptionsThe resolved axis options.

Returns ​

boolean

true when the axis is configured with scale: 'time'.