Last modified: 2014-09-23 20:00:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 14761 - Googlepie: too few colors
Googlepie: too few colors
Status: ASSIGNED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: denny vrandecic
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-08 22:31 UTC by DaSch
Modified: 2014-09-23 20:00 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
This patch adds an additional color (red) to the pie chart if there are more than 10 entries. (2.31 KB, patch)
2009-12-23 23:20 UTC, Will Simpson
Details
This attachment adds an additional color (red) after 10 elements. (2.29 KB, patch)
2010-01-11 06:46 UTC, Will Simpson
Details

Description DaSch 2008-07-08 22:31:07 UTC
When using Google Pie with more then 10 entries the difference beetween the colors is too small
Comment 1 DaSch 2008-07-08 22:54:44 UTC
do not like to post more bugs

but the googlebar does not show positiv and negativ values

for testing, I've many different data you are welcome try here (http://www.wecowi.com/view/WeCoWi:Spielwiese)

requests for testing special queries just use the discussion page
Comment 2 DaSch 2008-07-10 23:02:42 UTC
have I seen it right? the Google Chart Function was deleted? Why? Thats very sad
Comment 3 Markus Krötzsch 2008-08-08 21:10:10 UTC
It now is in a separate extension. Contact Denny for details.
Comment 4 Will Simpson 2009-12-23 23:20:42 UTC
Created attachment 6900 [details]
This patch adds an additional color (red) to the pie chart if there are more than 10 entries.

This patch simply checks the number of entries before returning the code for the chart.  If there are more than 10 entries, it returns a yellow and red chart, otherwise it returns a yellow chart.
Comment 5 Will Simpson 2010-01-11 06:46:12 UTC
Created attachment 6948 [details]
This attachment adds an additional color (red) after 10 elements.  

The previous patch contained an extraneous variable.
Comment 6 DaSch 2010-01-19 14:23:22 UTC
well that looks better

check this page to see the result

http://www.wecowi.de/view/S%C3%BCdamerika

maybe it could be even done a bit better, I don't know what googlepie is able to do
Comment 7 p858snake 2011-04-30 00:09:54 UTC
*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*
Comment 8 Sumana Harihareswara 2011-12-23 18:42:40 UTC
Adding "need-review" keyword to indicate patch awaits review.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links