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
I had the same issue. A different solution worked for me.
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...
}
});
The div elements in inactive tabs are invisible and have no width or height until they are shown. This can cause problems with flot and the default practise here would be to render the graphs only when the tabs are shown.
One alternative would be to position the divs absolute out of the page, render the plot graphs and then move the divs into the tabs.