Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Chart is not rendered if container is invisible #454
Original author: Konstant...@gmail.com (July 10, 2010 19:03:13)
I've tried to show 3 charts in tabs (jQuery tab), but only the chart on first(visible) tab is rendered. container divs are empty in other tabs.
Original issue: http://code.google.com/p/flot/issues/detail?id=375
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
From olau%iol...@gtempaccount.com on December 14, 2010 18:11:16
"Make sure that the placeholder isn't within something with a display:none CSS property - in that case, Flot has trouble measuring label dimensions which results in garbled looks and might have trouble measuring the placeholder dimensions which is fatal (it'll throw an exception)."
and also in the FAQ. I hope to someday be able to fix this as it's something that many people have trouble with, but for the time being I'm going to close this.