Skip to content

Commit

Permalink
Update docs/guide/migrationV2.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
  • Loading branch information
stockiNail and kurkle committed Apr 4, 2022
1 parent a307dbb commit a4026de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/migrationV2.md
Expand Up @@ -12,6 +12,6 @@ A number of changes were made to the configuration options passed to the plugin

## Events

`chartjs-plugin-annotation` plugin version 2 introduces the `interaction` options, to configure which events trigger annotation interactions. By default, the plugin uses the [chart interaction configuration](https://www.chartjs.org/docs/latest/configuration/interactions.html#interactions).
`chartjs-plugin-annotation` plugin version 2 introduces the [`interaction`](options#interaction) options, to configure which events trigger annotation interactions. By default, the plugin uses the [chart interaction configuration](https://www.chartjs.org/docs/latest/configuration/interactions.html#interactions).

* When [scatter charts](https://www.chartjs.org/docs/latest/charts/scatter.html) are used, the interaction default `mode` in Chart.js is `point`, while, in the previous plugin version, the default was `nearest`.

0 comments on commit a4026de

Please sign in to comment.