Documentation / @ripl/charts / ChartTooltipOptions
Interface: ChartTooltipOptions
Defined in: charts/src/core/options.ts:349
Fully resolved chart tooltip options.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
backgroundColor | string | Fill colour of the tooltip box. | charts/src/core/options.ts:359 |
borderRadius | BorderRadiusInput | Corner radius of the tooltip box, uniform or per-corner. | charts/src/core/options.ts:361 |
font | string | CSS font shorthand for the tooltip text. | charts/src/core/options.ts:355 |
fontColor | string | Colour of the tooltip text. | charts/src/core/options.ts:357 |
maxWidth | number | Maximum tooltip width before content wraps, in pixels. | charts/src/core/options.ts:363 |
padding | PaddingInput | Inner padding between the tooltip text and its box, in pixels. | charts/src/core/options.ts:353 |
visible | boolean | Whether tooltips are shown on hover. | charts/src/core/options.ts:351 |
wrap | boolean | Whether long content wraps onto multiple lines. | charts/src/core/options.ts:365 |