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

Make Pie chart render not cropped on retina display, or when browser zoom is used #4594

Closed
anonymous-matomo-user opened this issue Jan 30, 2014 · 10 comments
Assignees
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@anonymous-matomo-user
Copy link

As you can see from the screenshot, the pie charts renders quite a bit cropped on retina screens. I was able to replicate this behavior on OS X 10.9 Mavericks on all major browsers (Chrome 32, Safari 7, Firefox 26 etc.) both on my own Piwik setup as well as the demo at demo.piwik.org.

https://www.dropbox.com/s/k6rhcljluk7ice5/Screenshot%202014-01-30%2009.25.26.png

@anonymous-matomo-user
Copy link
Author

Attachment:
Screenshot 2014-01-30 09.25.26.png

@mattab
Copy link
Member

mattab commented Feb 1, 2014

Thanks for the report!

@fabian maybe you have an idea?

@mattab
Copy link
Member

mattab commented Mar 16, 2014

Including in scope of this duplicate (?) bug report #4748 When zooming to 150% in the browser, the pie charts are only partly visible. Particularly important on High-DPI displays, where 200% is the default.

@DaSchTour
Copy link
Contributor

Will there be a fix for this? Why is this so hard to fix?

@DaSchTour
Copy link
Contributor

BTW a possible workaround is to start your browser in low-resolution (can be selected by opening information of the App)
This is a really ugly workaround. I hoped to find a plugin to select only single pages to not render with retina resolution.
I hope this will be fix very very very soon. I hate it to have another browser running just to view piwik pie charts.

@DaSchTour
Copy link
Contributor

Here may be some code that might fix the problem
http://stackoverflow.com/questions/20221461/hidpi-retina-plot-drawing/20228300#20228300

@DaSchTour
Copy link
Contributor

Nothing is moving here and I get angrier every day when I have to switch to Opera running in non-retina mode just take a look on a pie chart. This is a unacceptable state! I wonder how many MacBook Users switched to GoogleAnalytics.
By the way with new Ubuntu and Windows 8.1 the number of users with HiDPI Displays and OS which support this will increase statically. So this will hurt more and more every day!

@mattab
Copy link
Member

mattab commented May 8, 2014

@dasch if you know a developer that can help fix this issue, we would be grateful

@anonymous-matomo-user
Copy link
Author

see my commit at bva64@f1c72b0 which fixes this on retina. i'll create a pull request, so you can decide if you want to include this hack (and test on non retina).

#271

@mattab
Copy link
Member

mattab commented May 9, 2014

In a5b61f4: Merge pull request #271 from wedgeV/jqplot-pie-fix

hack to fix pie chart size on retina Fixes #4594
Kuddos @wedgeV

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

3 participants