Author: croberts
Date: 2011-04-27 17:15:44 +0000 (Wed, 27 Apr 2011)
New Revision: 4745
Modified:
trunk/cumin/python/cumin/stat.py
Log:
Update the png charts to use the same labels as the flash charts.
Modified: trunk/cumin/python/cumin/stat.py
===================================================================
--- trunk/cumin/python/cumin/stat.py 2011-04-27 14:51:02 UTC (rev 4744)
+++ trunk/cumin/python/cumin/stat.py 2011-04-27 17:15:44 UTC (rev 4745)
@@ -590,8 +590,8 @@
if mode == "rate":
titles = ["%s / sec" % x.title for x in stats]
- else:
- titles = ["%s%s" % ((type == "percent") and "Percent
" or "", x.title) for x in stats]
+ else:
+ titles = ["%s%s" % ((type == "percent") and "Percent
" or "", x.short_title and x.short_title or x.title) for x in stats]
title_xy = chart.plot_legend(titles, colors)
Show replies by date