I implement charts 2 libraries in my project. it's working well. I want to show an alert message after the line chart rendered completely. is there any callback function or anything else? how can I show a message after the line chart displayed?
I want to do like before chart render showing loader at the end displayed chart I want to hide that loader.
You can use onComplete
callback function of animation. This will be called after the chart (animation) is completely rendered.
options: {
animation: {
onComplete: function() {
alert('Line Chart Rendered Completely!');
}
},
...
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With