From 19442701eaf3dbb342c783b535073edd258beb8a Mon Sep 17 00:00:00 2001 From: LeeLenaleee <39033624+LeeLenaleee@users.noreply.github.com> Date: Sun, 10 Jan 2021 21:17:02 +0100 Subject: [PATCH] clarification that strikethrough uses same color as the label color (#8289) --- docs/docs/configuration/legend.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/configuration/legend.md b/docs/docs/configuration/legend.md index 484262626..9d6b42ef6 100644 --- a/docs/docs/configuration/legend.md +++ b/docs/docs/configuration/legend.md @@ -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.