2017-05-23 9 views
1

私はryenusソリューション(Why are Bootstrap tabs displaying tab-pane divs with incorrect widths when using highcharts?)をGoogleチャートとtwitterブートストラップタブに適用しようとしていますが、私は問題があります。私はブートストラップのバージョンが違うかもしれません。私のブートストラップのバージョンは3.3.7です。私はこのライン見つかった私のbootstrap.cssファイルでブートストラップタブ内のGoogleグラフ

.tab-content > .tab-pane { 
 
    display: none; 
 
} 
 
.tab-content > .active { 
 
    display: block; 
 
}
はまた、私はbootstrap.css後にパッチを適用した誰かが私を助けることができる私は、下図のようにバグがありますか? enter image description here

答えて

1

多くの検索の後、私はこれを試して、私は私の問題を解決します。

$("a[href='#C']").on('shown.bs.tab', function (e) { 
 
    google.load('visualization', '1', { 
 
     packages: ['timeline'], 
 
     callback: drawChartC 
 
    }); 
 
});

関連する問題