Documentation / @ripl/charts / ChartAxisItemOptions
Interface: ChartAxisItemOptions<TData>
Defined in: charts/src/core/options.ts:483
Options for a single axis (x or y).
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
TData | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
font | string | CSS font shorthand for the tick labels. | charts/src/core/options.ts:487 |
fontColor | string | Colour of the tick labels. | charts/src/core/options.ts:489 |
format? | AxisFormatType | ((value) => string) | How tick values are formatted — a built-in AxisFormatType or a custom formatter. | charts/src/core/options.ts:497 |
title? | string | Optional axis title drawn alongside the tick labels. | charts/src/core/options.ts:491 |
value? | keyof TData | ((item) => any) | Accessor selecting the value this axis reads from each data item. | charts/src/core/options.ts:494 |
visible | boolean | Whether the axis line, ticks, and labels are rendered. | charts/src/core/options.ts:485 |