Hi,
I use chartjs-plugin-annotation to draw box annotations on stacked chart.
According to the documentation I added the property yScaleID to each box annotation in accordance with the related scale id.
I expected that the annotations position will be only on the specific scale, but the reality is that the annotations ״smeared״ on all scales from top to bottom.
The creation of the annotation is done as follows:
Hi, I use chartjs-plugin-annotation to draw box annotations on stacked chart. According to the documentation I added the property
yScaleID
to each box annotation in accordance with the related scale id. I expected that the annotations position will be only on the specific scale, but the reality is that the annotations ״smeared״ on all scales from top to bottom. The creation of the annotation is done as follows:Note that I set the properties yMin and yMax to
undefined
in order the box will be painted on the entire height of the scale. Result:Expected result: