The amCharts plugin doesn’t display anything when the changes are made to the page to make it into a fluid layout.
If the setting is done through the settings control it works but if the same changes are hard coded into the html of the page, then it doesn’t.
I’ve debugged it to some extent and it comes down to the <div class=”container”> which needs to be removed for the page to display in a fluid layout.
If any change is made to this div, i.e. if it’s removed, or eve if the class name is changed ‘container’ -> ‘_container’, the amCharts don’t display.
I don’t know how to get it to work.
PLEASE PLEASE help as I urgently need to have a prototype up and running with a fluid layout an amCharts in the admin 2 with material design layout.
Also, this is happening in the RTL theme. The LTR one is working fine.
And the page in question is ‘charts_amcharts.html’
Upon further digging, since removing the parent <div class=’container’> caused it to not work, I tried to override the style of the ‘container’ and set it’s width to 100% to simulate the fluid layout, but just this action caused the amCharts to not display.
Could you please let me know what is going on. Because the RTL version works just fine.
Can you provide us a test link to your issue page ? We will need to check your code in order to advise you further.
You can refer to the working examples of amchart here: http://www.keenthemes.com/preview/metronic/theme/templates/admin/charts_amcharts.html
You must be logged in to reply to this topic.