Uncaught Invalid dimensions for plot, width = null, height = null for flot charts api

后端 未结 3 2207
长发绾君心
长发绾君心 2021-01-23 02:37

I am using flot charts API for showing the graphs and I am successful in plotting the data. I am loading around 30 charts in one page and I am rendering them in ui-tabs.All the

3条回答
  •  深忆病人
    2021-01-23 02:54

    You can move event to generate plot after tab is clicked - see this: JQuery onchange in tabs event

    for example:

     $("#tabs").tabs({
        activate: function(event, ui) {
            function to generate plot...
        }
    });
    

提交回复
热议问题