Negative svg <width> attribute value not allowed
I try to draw two google tracks and keep them in tabs and I get an error:
Negative value of svg <width> attribute is not allowed
Only one of the treemaps is displayed. I assume that the other will not be able to finish drawing. There is no other description of the error in the console. (Google Chrome).
My code: http://jsfiddle.net/tTqjr/
+4
3 answers
I wrapped my two divs in a rowrap / col pair to solve and drag them using the hide () / show () / toggle () keys.
Of
<div class="row"> <div class="col-md-12" id="chart_div"> </div> </div> <div class="row"> <div class="col-md-12" id="chart_div2"> </div> </div> in
<div class="row"> <div class="col-md-12"> <div id="chart_div"> </div> </div> </div> <div class="row"> <div class="col-md-12"> <div id="chart_div2"> </div> </div> </div> +2