mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Add onLeave to legend config docs (#6088)
This commit is contained in:
parent
317cae11dc
commit
b36d55d093
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user