apexcharts / ng-apexcharts

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.
MIT License
310 stars 78 forks source link

Event functions does not work if chart is inserted with html tag. #256

Open Lucian06 opened 1 year ago

Lucian06 commented 1 year ago

Events functions do not work if the chart is inserted directly in HTML with

For example:

 events: {
    zoomed: (chartContext, { xaxis }) => {
              console.log("log something");
              this.changethis = "";
              this.changeEmitter$.next(this.change);
            },
}

The code above does not change the variable in ui and does not log in the browser console.