You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When I try to import annotation plugin at NodeJS as follows import annotation from 'chartjs-plugin-annotation'
it is causing an error like below
So What I have done to fix it is I downgrade to 2.0.0 and change chartjs-plugin-annotation.esm as follows
import { Element, defaults, Animations, Chart } from 'chart.js/auto' and everything work fines. (That fix doesn't work at ver 2.1.0)
May I know what is wrong in here as I don't find similar issue mentioned or Is it only happening to me