Documentation / @ripl/charts / ChartTooltipOptions
Interface: ChartTooltipOptions ​
Defined in: charts/src/core/options.ts:402
Fully resolved chart tooltip options.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
backgroundColor | string | Fill color of the tooltip box. | charts/src/core/options.ts:414 |
borderRadius | BorderRadiusInput | Corner radius of the tooltip box, uniform or per-corner. | charts/src/core/options.ts:416 |
font | string | CSS font shorthand for the tooltip text. | charts/src/core/options.ts:410 |
fontColor | string | Color of the tooltip text. | charts/src/core/options.ts:412 |
maxWidth | number | Maximum tooltip width before content wraps, in pixels. | charts/src/core/options.ts:418 |
padding | PaddingInput | Inner padding between the tooltip text and its box, in pixels. | charts/src/core/options.ts:408 |
trigger | ChartTooltipTrigger | What triggers the tooltip: 'item' (default) shows it when hovering an individual mark; 'axis' shows a shared tooltip listing every active series' value at the hovered category (cartesian charts). | charts/src/core/options.ts:406 |
visible | boolean | Whether tooltips are shown on hover. | charts/src/core/options.ts:404 |
wrap | boolean | Whether long content wraps onto multiple lines. | charts/src/core/options.ts:420 |