From: stockiNail Date: Sun, 5 Jul 2020 12:07:39 +0000 (+0200) Subject: The hover* options of bar chart doc page change as scriptable (#7584) X-Git-Tag: v3.0.0-beta.2~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e878a3954a6b28687cf824fddd6219379e3898a4;p=thirdparty%2FChart.js.git The hover* options of bar chart doc page change as scriptable (#7584) 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. --- diff --git a/docs/docs/charts/bar.mdx b/docs/docs/charts/bar.mdx index 9a7a67925..7d2fd1bd5 100644 --- a/docs/docs/charts/bar.mdx +++ b/docs/docs/charts/bar.mdx @@ -84,9 +84,9 @@ the color of the bars is generally set this way. | [`borderWidth`](#borderwidth) | number|object | Yes | Yes | `0` | [`clip`](#general) | number|object | - | - | `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`