https://bugzilla.wikimedia.org/show_bug.cgi?id=20075

           Summary: Scaling pie chart for large numbers
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://www.mediawiki.org/wiki/Extension_talk:Cooperation
                    Statistics
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: CooperationStatistics
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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' )
                ) );
        }


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to