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.
Source:stackexchange.com