Skip to content

Commit

Permalink
Add onLeave to legend config docs (chartjs#6088)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrimmer authored and simonbrunel committed Feb 25, 2019
1 parent 06bc839 commit 2d64e4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/configuration/legend.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 2d64e4d

Please sign in to comment.