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
You may have to change your event function to the following:
chartClicked({ event, active }: { event?: ChartEvent | undefined, active?: {}[] | undefined }): void {
console.log(event, active);
}
depending on your typescript/angular version.
At least, that's what I had to do.
Reproduction of the problem
Hi, i tried from here https://valor-software.com/ng2-charts/#DoughnutChart and in my own code
the event isnt triggered, anyone knows why ?
The text was updated successfully, but these errors were encountered: