From: Jon Rimmer Date: Mon, 25 Feb 2019 07:59:48 +0000 (+0000) Subject: Add onLeave to legend config docs (#6088) X-Git-Tag: v2.8.0-rc.1~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b36d55d0936bf591d5ab58ae3d6a076f8f2d62e1;p=thirdparty%2FChart.js.git Add onLeave to legend config docs (#6088) --- diff --git a/docs/configuration/legend.md b/docs/configuration/legend.md index 30e3283b4..c7d124868 100644 --- a/docs/configuration/legend.md +++ b/docs/configuration/legend.md @@ -12,6 +12,7 @@ The legend configuration is passed into the `options.legend` namespace. The glob | `fullWidth` | `boolean` | `true` | Marks that this box should take the full width of the canvas (pushing down other boxes). This is unlikely to need to be changed in day-to-day use. | `onClick` | `function` | | A callback that is called when a click event is registered on a label item. | `onHover` | `function` | | A callback that is called when a 'mousemove' event is registered on top of a label item. +| `onLeave` | `function` | | A callback that is called when a 'mousemove' event is registered outside of a previously hovered label item. | `reverse` | `boolean` | `false` | Legend will show datasets in reverse order. | `labels` | `object` | | See the [Legend Label Configuration](#legend-label-configuration) section below.