javascript - Bootstrap Grid System Class Incompatibility with Highchart -


so want create html elements using javascript , use highchart append graphs elements. heres html:

<main id="graph_container" class="row">  </main>  

here javascript:

var $figure = $("<figure>", {id:table, "class":"col-xl-4 col-lg-4 col-md-6 col-sm-12 col-xs-12"}); $("#graph_container").append($figure); 

and use highchart create figure based on figure created. works when don't add bootstrap's grid classes e.g col-xl-4...etc. add in last graph shows. please take @ diagram below: enter image description here

as can see in inspect there should 3 graphs , not 1. again, works when don't have bootstrap classes appended figure element need in order display multiple graphs in same row. ideas?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -