mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
clarification that strikethrough uses same color as the label color (#8289)
This commit is contained in:
parent
aa9a04a014
commit
19442701ea
@ -52,7 +52,7 @@ The legend label configuration is nested below the legend configuration using th
|
||||
| ---- | ---- | ------- | -----------
|
||||
| `boxWidth` | `number` | `40` | Width of coloured box.
|
||||
| `boxHeight` | `number` | `font.size` | Height of the coloured box.
|
||||
| `color` | [`Color`](../general/colors.md) | `Chart.defaults.color` | Color of label.
|
||||
| `color` | [`Color`](../general/colors.md) | `Chart.defaults.color` | Color of label and the strikethrough.
|
||||
| `font` | `Font` | `Chart.defaults.font` | See [Fonts](../general/fonts.md)
|
||||
| `padding` | `number` | `10` | Padding between rows of colored boxes.
|
||||
| `generateLabels` | `function` | | Generates legend items for each thing in the legend. Default implementation returns the text + styling for the color box. See [Legend Item](#legend-item-interface) for details.
|
||||
|
Loading…
Reference in New Issue
Block a user