]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
The hover* options of bar chart doc page change as scriptable (#7584)
authorstockiNail <stocki.nail@gmail.com>
Sun, 5 Jul 2020 12:07:39 +0000 (14:07 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2020 12:07:39 +0000 (08:07 -0400)
In the bar chart, the `hoverBackgroundColor`, `hoverBorderColor and `hoverBorderWidth` options are scriptable.
In the previous version (2.9.3) they weren't documented as scriptable but they are.

docs/docs/charts/bar.mdx

index 9a7a679259e439ed3c193587aa9abd6b12d9f1cd..7d2fd1bd5fe91e6594dfe12056bdc9f68d60cc4b 100644 (file)
@@ -84,9 +84,9 @@ the color of the bars is generally set this way.
 | [`borderWidth`](#borderwidth) | <code>number&#124;object</code> | Yes | Yes | `0`
 | [`clip`](#general) | <code>number&#124;object</code> | - | - | `undefined`
 | [`data`](#data-structure) | `object[]` | - | - | **required**
-| [`hoverBackgroundColor`](#interactions) | [`Color`](../general/colors.md) | - | Yes | `undefined`
-| [`hoverBorderColor`](#interactions) | [`Color`](../general/colors.md) | - | Yes | `undefined`
-| [`hoverBorderWidth`](#interactions) | `number` | - | Yes | `1`
+| [`hoverBackgroundColor`](#interactions) | [`Color`](../general/colors.md) | Yes | Yes | `undefined`
+| [`hoverBorderColor`](#interactions) | [`Color`](../general/colors.md) | Yes | Yes | `undefined`
+| [`hoverBorderWidth`](#interactions) | `number` | Yes | Yes | `1`
 | [`indexAxis`](#general) | `string` | `'x'` | The base axis for the dataset. Use `'y'` for horizontal bar.
 | [`label`](#general) | `string` | - | - | `''`
 | [`order`](#general) | `number` | - | - | `0`