chartjs / chartjs/chartjs-plugin-annotation

Animation curves do not match the axis

Open
#906 1 comment 0 reactions 0 assignees View on GitHub
status: needs test case
Dominant language
JavaScript
Stars
623
Forks
377
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.