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

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

javascript - Replicate keyboard event with html button -