Events when using apexcharts with Angular #2715
jegjessing
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'm using apexchart with angular.
Versions:
Problem is that I cannot trigger events at all :-(
The config is as described below, I've tested that height and type works, so the chart config is read. But looks like the events are ignored? What am I doing wrong?
chart: { height: 600, type: 'line', events: { animationEnd: function (chartContext, options) { console.log(chartContext, options); }, mounted: function (chartContext, options) { console.log(chartContext, options); }, click: function (event, chartContext, options) { console.log(chartContext, options); } }
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions