2

For this is image. logoimage I need to remove the logo from my chart. in amchart 4 this code is work to remove the logo.

if(chart.logo){ chart.logo.disabled = true;}

but for amchart 5 it is not working anymore.

2 Answers2

12

You can used this

let root = am5.Root.new('chartdiv');

/* remove amchart logo */

root._logo.dispose();
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Dec 05 '22 at 22:10
  • 2
    ts version: `root._logo?.dispose();` – TorukMacaco Dec 23 '22 at 15:00
0

You have to buy a license - https://www.amcharts.com/online-store/

Or hide the bottom corner with a white rectangle (not recommend)

Tupical
  • 36
  • 6