I am using Twitter bootstrap nav tabs to create a dashboard where the single page is tabbed for each graph. I am using chartkick to generate those graphs. When I pair it with tabs the second two tabs resize the chartkick graphs and make them unusable.
<div>
<ul class="nav nav-tabs responsive" id="myTab">
<li id="10" class="active"><a data-toggle="tab" href="#I">Need By Monthly Breakout</a></li>
<li id="11"><a data-toggle="tab" href="#J">Model Quantities Breakout</a></li>
<li id="12"><a data-toggle="tab" href="#K">Monthly Quantities Breakout</a></li>
</ul>
</div>
<div class="tab-content responsive">
<div class="tab-pane fade in active" id="I">
<%= render partial: 'orderschart_a' %>
</div>
<div class="tab-pane fade in" id="J">
<%= render partial: 'orderschart_b' %>
</div>
<div class="tab-pane fade in" id="K">
<%= render partial: 'orderschart_c' %>
</div>
</div>
![This is the output of the first tab and it looks normal. ][1]
![This is the output of the second tab, you can see it has condensed the graph for some reason.][2]
![This is the output of the third tab, you can see it has condensed the graph for some reason.][3]
As you can see this is very inconvenient when trying to do dashboards, but I can't see to figure out how to fix it.
I have tested the second and third graphs independent of the tabs page and they work fine when not part of the tabs.
I have tried adding responsive tabs, but I can't get that to work either.
I really don't want to have to not use tabbed pages for my graphs, but I will if I can't get this to work.