Topic: bar charts iframe issue

Veysi Brave free asked 6 years ago

Hello,I have tried to use bar charts and some gauge charts on  carousel slider but every slider has a iframe to load charts with dynamic data but unfortuntelly div container appears empty not load charts(bar or gauge) when I move the charts frames to first slider it works but second and others does not work ! I have checked on my browser consol  I got mdb.min.js error(on Firefox: document.defaultView.getComputedStyle is nul) :(if you have any solution pls can you share?RegardsThanks

Veysi Brave free answered 6 years ago

I have carousel slider and every slide has a iframe and each iframe load by aspx file <div class='item'> <iframe target='_Parent' seamless='seamless' id='p1' src='Ekran/BolgeSiralama.aspx' style='width:100%; height:816px;' frameborder='0'> </iframe> </div> the chart json setting and codes  inside aspx code when I call aspx page directly it loads the charts but when call from inside iframe appear white/empty the chart screen :

Jakub Strebeyko staff commented 6 years ago

Hi, It seems very much as the problem regards the use of <iframe> and the chart rendering utility, not MDB. Please consider contacting appropriate support boards. With Best Regards, Kuba

Jakub Strebeyko staff answered 6 years ago

Hi Veysi, Welcome to the Support Board! What kind of charts are you using? Even though the carousel has been designed with static data (images, videos) in mind, it was super-easy to create (copy and paste) a carousel full of beautiful (and possibly-dynamically loaded) MDB Charts. No <iframe> included, too, so be sure to check it out! With Best Regards, Kuba

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No