Dan Onoshko
Dan Onoshko
@WowDarkHole @MichaelCropper Hi. Could you please record a video with this issue?
@santam85 For tests you can disable this plugin by `options.plugins.colors.enabled` option.
I can make a fix for this case.
It is impossible to detect whether the defaults changed or not on the plugin level. So I suggest accepting this as expected behavior and closing the issue. > I think...
@santam85 @stockiNail @kurkle what do you think?
@abaksha-sc Hi. In this case, I'm offering you to move chart initialization into `connectedCallback`: https://jsfiddle.net/8wr2bn5j/ ```js const observer = new MutationObserver(entries => { if (canvas.isConnected) { listener(); } }); ```...
@MichaelCropper Also, we would very much appreciate it if you provide a sandbox with issue reproduction
@beginerweb @WCByrne Hi. Chart.js v4 is ESM only package. Do you prepare jest for running ESM? https://jestjs.io/docs/ecmascript-modules
@beginerweb You should follow instructions in jest docs https://jestjs.io/docs/ecmascript-modules
@beginerweb I only can suggest you migrate from jest to vitest cause vitest has ESM support out of the box and has almost the same API as jest. https://vitest.dev/guide/migration.html