chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js
MIT License
604 stars 327 forks source link

Animation curves do not match the axis #906

Open fulldecent opened 1 year ago

fulldecent commented 1 year ago

The annotation is pinned to the axis.

And the axis can move, e.g. when enabling/disabling datasets.

When the axis moves, the animation curve appears to be quadratic. But the annotation moves to the new location and that curve appears to be cubic.

https://github.com/chartjs/chartjs-plugin-annotation/assets/382183/ccfe4c81-64c5-47aa-a946-a2192883409d

stockiNail commented 1 year ago

@fulldecent thank you per input. May I ask you if you can provide a reproducible example, maybe in codepen or on other platforms?