Wick Charts

TimeAxis· also exported as XAxis

import { TimeAxis } from '@wick-charts/react';
 
<TimeAxis />

Renders tick marks and labels along the time axis. Density adapts to viewport width and is bounded by the labelCount and minLabelSpacing props (which override the chart-level defaults).

Renders tick marks and labels along the time axis. Density adapts to viewport width and is bounded by the labelCount and minLabelSpacing props (which override the chart-level defaults).

Props

labelCount?number

Desired number of labels (≥ 2). Overrides chart-level axis.x.labelCount.

minLabelSpacing?number

Minimum pixel gap between adjacent labels (hard floor). Overrides chart-level.