Chartjs-How to access the Chart object in Javascript DOM?

1πŸ‘

βœ…

To access the chart instance, you can simply use Chart.instances which will return a key-value pair. Values containing the chart instance.
You can refer this fiddle as reference.

Leave a comment