You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Reorder the types definitions
* Update types/label.d.ts
Co-authored-by: Jacco van den Berg <[email protected]>
* applied review
Co-authored-by: Jacco van den Berg <[email protected]>
Copy file name to clipboardExpand all lines: docs/guide/migrationV2.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,3 +102,7 @@ The following diagram is showing the element properties about a `'polygon'` anno
102
102
* 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`.
103
103
104
104
The `dblclick` event hook was removed from annotations options because, being executed asynchronously, it can not enable the chart re-rendering, automatically after processing the event completely. This is important when the user requires re-draws. It gets slow and messy if every event hook does the draw (or update!).
105
+
106
+
## Types
107
+
108
+
`chartjs-plugin-annotation` plugin version 2 removes the compatibility with TypeScript versions less than 4.1 which is the minimum supported one.
0 commit comments