[Chartjs]-ChartJs Horizontal line

2👍

Your annotation is at y value:5 which is right at the bottom of your chart.

Here’s a codepen with the annotation working.

I’ve assumed your labels looks something like this:

labels: [6,7,8,9,10,11],

and your data

data: [38, 8, 32, 25, 47,30],

and then made the annotation value:

value: 30,

enter image description here

Leave a comment