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:
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
Post a Comment