Page MenuHomePhabricator

Scaling pie chart for large numbers
Closed, ResolvedPublic

Description

Author: alfred.maghi

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

Version: unspecified
Severity: enhancement
URL: http://www.mediawiki.org/wiki/Extension_talk:CooperationStatistics

Details

Reference
bz20075