Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linagee
Copy link

@linagee linagee commented Apr 23, 2014

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

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

linagee commented Apr 23, 2014

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.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant