Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing the pie charts when adding to a dashboard is broken #12

Open
vitorbaptista opened this issue Feb 25, 2014 · 0 comments
Open

Resizing the pie charts when adding to a dashboard is broken #12

vitorbaptista opened this issue Feb 25, 2014 · 0 comments
Labels

Comments

@vitorbaptista
Copy link
Contributor

To reproduce, create a pie chart, add it to a dashboard and play a bit resizing it. There're some sizes where it goes crazy, with the div's scrollbars flickering.

It might be a bug in jquery.resize, or in flot's resize. I did a workaround a while ago by using width/height to 90%, which diminishes the issue, but it would be great to fix it for good.

vitorbaptista added a commit that referenced this issue Feb 28, 2014
It seems like a problem in Flot, where it doesn't respect the canvas' sizes,
drawing over it.  From some tests, I found that 99% height works for all
graphs, but the pie needs a smaller width.
vitorbaptista added a commit that referenced this issue Mar 14, 2014
This version includes my commit
krzysu/flot.tooltip@d21ecc5,
which fixes this issue.
vitorbaptista added a commit that referenced this issue Apr 1, 2014
…crollbars

The problem is that flot ends up drawing over the limits of the canvas
depending on the content. Our workaround is to make the charts a bit smaller
(95% width), so that we have a bit of space to spare, in case it happens.

This doesn't fix the issue, but at least makes it harder to appear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant