svn: r14143
This commit is contained in:
Gerald Britton
2010-01-26 14:21:51 +00:00
parent 294f59bb7b
commit 07decce138
2 changed files with 3 additions and 4 deletions

View File

@@ -838,7 +838,7 @@ class StatisticsChart(Report):
pad = row_h * 0.5
# check maximum value
max_value = reduce(max, map(data.get, lookup), 0)
max_value = max(data[k] for k in lookup) if data else 0
# horizontal area for the gfx bars
margin = 1.0
middle = width/2.0