Pie chart on Dashboard could be incorrect if only one Browsertype was tracked #3188

Closed
anonymous-piwik-user opened this Issue Jun 4, 2012 · 6 comments

3 participants

@anonymous-piwik-user

Today I saw an error which I couldnt reproduce with Safari on Android:

I got no pie chart on the dashboard under "visitors browser" while I had few visitors and all of them had Firefox. So the 100% pie wasnt plotted, but the tag for "Firefox" was there.

The Screenshot is just a remake...
[[Image(http://www.pichost.de/images/W4B7r.png)]]

Hopfully you can reproduce it...

@anonymous-piwik-user

I had to use IE 8 when the error occurs

@diosmosis
Piwik Open Source Analytics member

(In [6517]) Fixes #3188, created monkey patch to fix bug in some browsers' arc drawing functionality.

Notes:

  • Added workarounds.js file to hold this type of code.
@mattab
Piwik Open Source Analytics member

Nice finding of the fix!

I propose to not add a new JS file, please add the JS code into the existing: /trunk/themes/default/common.js
At the end there is some similar monkeypatching code.

@diosmosis
Piwik Open Source Analytics member

(In [6570]) Fixes #3188, move workaround to default theme's common.js file.

@mattab
Piwik Open Source Analytics member

Regression: When the patch is applied, the "Evolution graph" have no blue dot on hover, using FF 14 and Chrome.

@diosmosis
Piwik Open Source Analytics member

(In [6578]) Fixes #3188, fix regression in evolution graph.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment