Skip to content

Chart JS annotation issues #713

Answered by stockiNail
devv3899 asked this question in Q&A
Mar 31, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

@devv3899 I would suggest to use CHART.JS 3.x and plugin annotation1.x because there are more recent and many bugs are solved.

I think the issue is in scaleID: "y-axis-0", because your scale id is set to id: 'A',.

Using scaleID: "A", in the plugin configuration should work.

Codepen (I used a category axis instead of time one but it should be affected the result): https://codepen.io/stockinail/pen/KKZXNQL

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@devv3899
Comment options

@stockiNail
Comment options

@stockiNail
Comment options

@stockiNail
Comment options

@devv3899
Comment options

Answer selected by stockiNail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants