Mikhus / canvas-gauges

HTML5 Canvas Gauge. Tiny implementation of highly configurable gauge using pure JavaScript and HTML5 canvas. No dependencies. Suitable for IoT devices because of minimum code base.

Home Page:http://canvas-gauges.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not showing on Bootstrap3 in tabs

cassiel74 opened this issue · comments

Hi, I am using bootstrap3 in drupal7 and canvas gauges.

I have this page with tabs and while adding canvas code on the default one, the active one when page is loade, it shows up but if I add canvas gauge on the second (not active by default) it doesn't show up.

<ul class="nav nav-tabs">
  <li class="active"><a data-toggle="tab" href="#home">Home</a></li>
  <li><a data-toggle="tab" href="#menu1">Menu 1</a></li>
</ul>

<div class="tab-content">
  <div id="home" class="tab-pane fade in active">
    <h3>HOME</h3>
    <p>SHOWING HERE</p>
  </div>
  <div id="menu1" class="tab-pane fade">
    <h3>Menu 1</h3>
    <p>NOT SHOWING HERE</p>
  </div>
</div>