Documentation / @ripl/charts / ChartLegendOptions
Interface: ChartLegendOptions ​
Defined in: charts/src/core/options.ts:472
Fully resolved chart legend options.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
font | string | CSS font shorthand for the legend labels. | charts/src/core/options.ts:480 |
fontColor | string | Color of the legend labels. | charts/src/core/options.ts:482 |
highlight | boolean | Whether hovering a legend entry highlights its series and clicking toggles its visibility. | charts/src/core/options.ts:484 |
padding | PaddingInput | Space around the legend, uniform or per-edge, in pixels. | charts/src/core/options.ts:478 |
position | LegendPosition | Which side of the chart the legend occupies. | charts/src/core/options.ts:476 |
visible | boolean | Whether the legend is rendered. | charts/src/core/options.ts:474 |