Author: justi9
Date: 2008-04-15 10:59:55 -0400 (Tue, 15 Apr 2008)
New Revision: 1911
Modified:
mgmt/cumin/python/cumin/charts.py
mgmt/cumin/python/cumin/stat.py
Log:
Give the existing chart code a more descriptive name
Modified: mgmt/cumin/python/cumin/charts.py
===================================================================
--- mgmt/cumin/python/cumin/charts.py 2008-04-15 12:23:14 UTC (rev 1910)
+++ mgmt/cumin/python/cumin/charts.py 2008-04-15 14:59:55 UTC (rev 1911)
@@ -9,7 +9,7 @@
log = logging.getLogger("cumin.chart")
-class LineChart(object):
+class TimeSeriesChart(object):
def __init__(self, width, height):
self.width = width
self.height = height
Modified: mgmt/cumin/python/cumin/stat.py
===================================================================
--- mgmt/cumin/python/cumin/stat.py 2008-04-15 12:23:14 UTC (rev 1910)
+++ mgmt/cumin/python/cumin/stat.py 2008-04-15 14:59:55 UTC (rev 1911)
@@ -168,7 +168,7 @@
return (cls.get(id),)
def do_render(self, session, object):
- chart = LineChart(320, 80)
+ chart = TimeSeriesChart(320, 80)
cls = self.class_.get(session)
stats = [getattr(cls, x) for x in self.stats.get(session)]
Show replies by date