From: LeeLenaleee <39033624+LeeLenaleee@users.noreply.github.com> Date: Sun, 10 Jan 2021 20:17:02 +0000 (+0100) Subject: clarification that strikethrough uses same color as the label color (#8289) X-Git-Tag: v3.0.0-beta.8~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19442701eaf3dbb342c783b535073edd258beb8a;p=thirdparty%2FChart.js.git clarification that strikethrough uses same color as the label color (#8289) --- 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.