Index: trunk/extensions/ContributionReporting/FundraiserStatistics_body.php |
— | — | @@ -79,7 +79,7 @@ |
80 | 80 | $days = $this->getDailyTotals( $fundraiser['start'], $fundraiser['end'] ); |
81 | 81 | foreach( $sources as $chart => $source ) { |
82 | 82 | $column = 0; |
83 | | - $factor = 200 / $max[$source]; |
| 83 | + $factor = 300 / $max[$source]; |
84 | 84 | // Build bars for chart |
85 | 85 | foreach( $days as $i => $day ) { |
86 | 86 | $height = $factor * $day[$source]; |
— | — | @@ -129,7 +129,7 @@ |
130 | 130 | ) . |
131 | 131 | Xml::tags( 'tr', null, |
132 | 132 | Xml::element( 'td', $tdLabelAttributes, wfMsg( 'fundraiserstats-contributions' ) ) . |
133 | | - Xml::element( 'td', $tdValueAttributes, $wgLang->formatNum( number_format( $day[2], 2 ) ) ) . |
| 133 | + Xml::element( 'td', $tdValueAttributes, $wgLang->formatNum( number_format( $day[2] ) ) ) . |
134 | 134 | Xml::element( 'td', $tdLabelAttributes, wfMsg( 'fundraiserstats-avg' ) ) . |
135 | 135 | Xml::element( 'td', $tdValueAttributes, $wgLang->formatNum( number_format( $day[3], 2 ) ) ) |
136 | 136 | ) |
Index: trunk/extensions/ContributionReporting/FundraiserStatistics.css |
— | — | @@ -1,7 +1,10 @@ |
2 | 2 | .fundraiserstats-view-box { |
3 | | - width: 100%; |
4 | 3 | border: solid 1px silver; |
5 | 4 | } |
| 5 | +.fundraiserstats-view-box h3 { |
| 6 | + margin-top: 0; |
| 7 | + padding-top: 0; |
| 8 | +} |
6 | 9 | .fundraiserstats-today { |
7 | 10 | position: absolute; |
8 | 11 | width: 6px; |
— | — | @@ -13,16 +16,21 @@ |
14 | 17 | .fundraiserstats-bar-2007 { |
15 | 18 | background-color: #AAAAFF; |
16 | 19 | border: outset 1px #AAAAFF; |
17 | | - width: 3px; |
| 20 | + width: 2px; |
18 | 21 | margin-left: 3px; |
19 | 22 | } |
20 | 23 | .fundraiserstats-bar-2008 { |
21 | 24 | background-color: #AAFFAA; |
22 | 25 | border: outset 1px #AAFFAA; |
23 | | - width: 3px; |
| 26 | + width: 2px; |
24 | 27 | } |
| 28 | +.fundraiserstats-bar-2009 { |
| 29 | + background-color: #FFAAAA; |
| 30 | + border: outset 1px #FFAAAA; |
| 31 | + width: 2px; |
| 32 | +} |
25 | 33 | .fundraiserstats-bar-space { |
26 | | - width: 3px; |
| 34 | + width: 2px; |
27 | 35 | } |
28 | 36 | .fundraiserstats-chart { |
29 | 37 | padding: 10px; |