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

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

Open
linagee wants to merge 1 commit intoangular-ui:masterfrom
linagee:patch-1
Open

Track children() before/after .jqplot, responsize/resize#11
linagee wants to merge 1 commit intoangular-ui:masterfrom
linagee:patch-1

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

Comments