Jacco van den Berg

Results 222 comments of Jacco van den Berg

You need to import and register the elements you are using: ```js Chart.register(CandlestickElement, CandlestickController) ```

My only guess is that you are deleting and recreating the chart somehow instead of updating. Because when I update the chart by adding a new annotation it works fine:...

The button is under the canvas ![image](https://user-images.githubusercontent.com/39033624/176398355-c9481c2b-0718-427e-aede-04517d74e556.png) Code for the button logic is on line 45-65

not totally sure where the issue lies, within the plugin or withing the wrapper. It seems that it is not an issue with the annotation plugin, if you make a...

@kurkle you added the original repro link instead of your updated one

Feels a bit to complex to me to be used in an example.

I am bit scared for the rabit hole you can open with this. Like for this use case you only need to be able to style individual lines. But what...

Do you have a reproducable sample (with a codepen, jsfiddle or something similar) of this because when I try it on the official samples it does not happen

Seems to work fine, do you have a reproducable sample? https://jsfiddle.net/sfe3qLc4/

Can you try if it works if you nest the requires as shown in this example so you are sure chart.js is fully loaded when the datalabels tries to acces...