I'm using the free version of AmCharts, and I have a simple question - how do you delete a Chart after it has been loaded? I've searched the internet, but haven't come up on much.
That's easy: you need to dispose the chart instance that is not needed anymore. We can do that by calling chart's dispose() method: TypeScript / ES6 JavaScript ... chart.
The license of Version 4 says the following: "You do not disable, hide or alter the branding link which is displayed on all the content generated by amCharts software unless you provide some other adequately prominent attribution to amCharts." This means you are ALLOWED to remove the attribution completely if you have ...
Hiding labels We can hide or show any element in amCharts 4 using their hide() or show() methods respectively.
If you want to destroy the chart object, at all, call:
chart.clear();
and then null the chart variable:
chart = null;
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