I use plugin jquery flot http://www.flotcharts.org/ and bootstrap tabs
When I put div to generate flot in tab which is now not vissible and wanted to generate him in $(document).ready(function(){}) in console show me error:
Invalid dimensions for plot, width = 0, height = 280
JavaScript code:
$(document).ready(function(){
var chart_plot_01_settings = {...}, arr_data1 = ..., arr_data2 = ...;
$.plot( $("#chart"), [ arr_data1, arr_data2 ], chart_plot_01_settings );
})