categoryTicks

Returns what each of an axis's ticks writes: a renamed name's label, else the tick — the short form for a preset, the name itself otherwise.

@internote/canvas-sdkFunction
On this page
import { categoryTicks } from '@internote/canvas-sdk';

#Signature

(axis: CategoricalAxis): string[]

#Parameters

axis
The categorical axis.

Declared in packages/canvas-sdk/src/data/categories.ts:182.

Last updated