Skip to content

Commit 1e9c32d

Browse files
authored
Correct zoom modifierKey docs (#463)
1 parent 78f0386 commit 1e9c32d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ const chart = new Chart('id', {
5555
| `enabled` | `boolean` | `false` | Enable zooming
5656
| `drag` | `boolean` | `undefined` | Enable drag-to-zoom behavior (disables zooming by wheel)
5757
| `mode` | `'x'`\|`'y'`\|`'xy'` | `'xy'` | Allowed zoom directions
58-
| `modifierKey` | `'ctrl'`\|`'alt'`\|`'shift'`\|`'meta'` | `null` | Modifier key required for zooming with mouse
5958
| `overScaleMode` | `'x'`\|`'y'`\|`'xy'` | `undefined` | Which of the enabled zooming directions should only be available when the mouse cursor is over a scale for that axis
6059
| `rangeMin` | `{x: any, y: any}` | `undefined` | Minimum zoom range allowed for the axes. Value type depends on the scale type
6160
| `rangeMax` | `{x: any, y: any}` | `undefined` | Maximum zoom range allowed for the axes. Value type depends on the scale type
6261
| `speed` | `number` | `0.1` | Factor of zoom speed via mouse wheel.
6362
| `threshold` | `number` | `0` | Mimimal zoom distance required before actually applying zoom
63+
| `wheelModifierKey` | `'ctrl'`\|`'alt'`\|`'shift'`\|`'meta'` | `null` | Modifier key required for zooming with mouse
6464

6565
### Zoom Events
6666

0 commit comments

Comments
 (0)