ui-chart icon indicating copy to clipboard operation
ui-chart copied to clipboard

Track children() before/after .jqplot, responsize/resize

Open linagee opened this issue 11 years ago • 1 comments

Empty children before plotting, make sure plot created some children or retry, redraw on resize (needed for responsive web design layouts).

linagee avatar Apr 23 '14 17:04 linagee

I found .jqplot itself was failing sometimes. (It would just appear blank on the page.) I console.log-ed the variables being passed to .jqplot and they were correct. It seems it just doesn't work sometimes? (But it did work on subsequent tries, so its probably some timing thing.)

Also, its nice to redraw the jqplot if the browser resizes. (Needed for responsive web design.)

linagee avatar Apr 23 '14 18:04 linagee