Last modified: 2009-08-05 21:09:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22075, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20075 - Scaling pie chart for large numbers
Scaling pie chart for large numbers
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CooperationStatistics (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Al Maghi
http://www.mediawiki.org/wiki/Extensi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-05 10:22 UTC by Al Maghi
Modified: 2009-08-05 21:09 UTC (History)
1 user (show)

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


Attachments

Description Al Maghi 2009-08-05 10:22:49 UTC
In function getGoogleChartParams of CooperationStatistics_body.php

===================================================================
--- CooperationStatistics_body.php      (revision 54255)
+++ CooperationStatistics_body.php      (working copy)
@@ -63,6 +63,7 @@
                        'chs' => $wgCoopStatsChartDimensions,
                        'cht' => 'p3',
                        'chd' => 't:' . implode( ',', $stats ),
+                       'chds' => '0,' . max( $stats ),
                        'chl' => implode( wfMsg( 'word-separator' ) . wfMsg( 'cooperationstatistics-users' ) . ' |', array_keys( $stats ) ) . wfMsg( 'word-separator' ) . wfMsg( 'cooperationstatistics-legendmore' )
                ) );
        }
Comment 1 Alexandre Emsenhuber [IAlex] 2009-08-05 21:09:27 UTC
applied in r54485.

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


Navigation
Links