0👍
The annotation plugin registers itself in v2, so you just need to import it like so:
import "chartjs-plugin-annotation";
Working example: https://codesandbox.io/s/competent-dust-nqfcz?file=/src/app/app.component.ts
Source:stackexchange.com
0👍
The annotation plugin registers itself in v2, so you just need to import it like so:
import "chartjs-plugin-annotation";
Working example: https://codesandbox.io/s/competent-dust-nqfcz?file=/src/app/app.component.ts