Open fulldecent opened 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
@fulldecent thank you per input. May I ask you if you can provide a reproducible example, maybe in codepen or on other platforms?
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