Chart.js: How to access the chart from a page containing multiple charts while using onClick option in legend?

👍:0

Nevermind.

‘this.chart’ gives us access to the current chart even if we have multiple charts on the same page

Leave a comment