Home Forums Chart Support Chart in div hidden Reply To: Chart in div hidden



In the case of bootstrap tabs, since the second tab is not displayed initially, the second chart is rendered when the shown.bs.tab event is fired by bootstrap using the chart.render method as shown in the code-snippet below,

      $('#bs-tab2').off();//to remove the binded event after initial rendering

Here is the working code for the same.

chart within bootstrap tab

Adithya Menon
Team CanvasJS