ng-apexcharts is an implementation of apexcharts for angular. It comes with one simple component that enables you to use apexcharts in an angular project.
events: {
mounted: (chartContext: any, config: any) => {
// this should only printed out once, but check your browser console ...
console.log("mounted");
}
},
Live Demo: https://codesandbox.io/s/apx-line-basic-forked-6ny467?file=/src/app/app.component.ts:1028-1035