Author: croberts
Date: 2012-04-13 15:18:31 +0000 (Fri, 13 Apr 2012)
New Revision: 5301
Modified:
branches/play_plumage/cumin/python/cumin/grid/dashboard.py
branches/play_plumage/cumin/resources/app.js
Log:
Adding more data to the utilization chart for demo purposes.
Modified: branches/play_plumage/cumin/python/cumin/grid/dashboard.py
===================================================================
--- branches/play_plumage/cumin/python/cumin/grid/dashboard.py 2012-04-12 22:33:53 UTC
(rev 5300)
+++ branches/play_plumage/cumin/python/cumin/grid/dashboard.py 2012-04-13 15:18:31 UTC
(rev 5301)
@@ -95,10 +95,10 @@
self.add_child(os_data)
chart = self.UtilChart(app, "util",
app.model.com_redhat_grid_plumage.OSUtil)
- chart.stats = ["total", "avail", "used"]
+ chart.stats = ["total", "avail", "unavail",
"used"]
# these titles are a temporary requirement. Eventually, we will have an
"aggregate" class available that will
# let us store queries or other info in the rosemary.xml model but NOT have an
actual column in the database
- chart.titles = ["Total", "Available", "Used"]
+ chart.titles = ["Total", "Available",
"Unavailable", "Used", ]
chart.duration.param.default = "3600"
self.add_child(chart)
Modified: branches/play_plumage/cumin/resources/app.js
===================================================================
--- branches/play_plumage/cumin/resources/app.js 2012-04-12 22:33:53 UTC (rev 5300)
+++ branches/play_plumage/cumin/resources/app.js 2012-04-13 15:18:31 UTC (rev 5301)
@@ -629,7 +629,7 @@
}
},
series: getSeries(dataContainer),
- seriesColors: ['#00cc00','#cc0000','#0000cc'],
+ seriesColors:
['#00cc00','#cc0000','#0000cc','#eeee00','912cee','#ff1493'],
seriesDefaults: {
lineWidth:1,
fill:true,
Show replies by date