I have 2 tabs with 1 morris.js graph in each. The Graph in the first (active) tab loads perfectly, but the graph in the second tab doesn't load (strange result in Chrome, nothing in Firefox).
See jsbin: http://jsbin.com/canajije/1/edit
<div class="row">
<ul class="nav nav-tabs nav-justified">
<li ><a href="#a" data-toggle="tab">Tab A</a></li>
<li><a href="#b" data-toggle="tab">Tab B</a></li>
</ul>
<div class="tab-content col-sm-12" >
<div class="tab-pane active" id="a">
<div id="tab-a" style="height:200px;width:200px;"></div>
</div>
<div class="tab-pane" id="b">
<div id="tab-b" style="height:200px;width:200px;"></div>
</div>
</div>
</div>
How to load both graphs correctly?