bar charts iframe issue


Topic: bar charts iframe issue

Veysi Brave asked 7 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

Jakub Strebeyko staff answered 7 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

Veysi Brave answered 7 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 : https://pasteboard.co/Hgofw4w.png

Jakub Strebeyko staff commented 7 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

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No