Author: croberts
Date: 2012-11-29 17:23:56 +0000 (Thu, 29 Nov 2012)
New Revision: 5555
Modified:
branches/croberts/cumin/python/cumin/grid/dashboard.py
Log:
Changed size of accounting group use chart.
Modified: branches/croberts/cumin/python/cumin/grid/dashboard.py
===================================================================
--- branches/croberts/cumin/python/cumin/grid/dashboard.py 2012-11-26 21:48:16 UTC (rev
5554)
+++ branches/croberts/cumin/python/cumin/grid/dashboard.py 2012-11-29 17:23:56 UTC (rev
5555)
@@ -52,41 +52,10 @@
charts = WidgetSet(app, "charts")
self.add_child(charts)
-
-# chart = self.PoolEfficiencyChart(app, "eff",
app.model.com_redhat_grid_plumage.OSUtil)
-# chart.stats = ["efficiency"]
-# chart.max_samples = 250
-# chart.duration.param.default = "86400"
-# charts.add_child(chart)
-#
-# chart = self.PoolMemoryChart(app, "fmem",
app.model.com_redhat_grid_plumage.OSUtil)
-# chart.stats = ["usedmem", "freemem"]
-# chart.max_samples = 250
-# chart.duration.param.default = "86400"
-# chart.chart_type = "stacked"
-# charts.add_child(chart)
-#
-# chart = self.PoolCpuChart(app, "fcpu",
app.model.com_redhat_grid_plumage.OSUtil)
-# chart.stats = [ "usedcpu", "freecpu"]
-# chart.max_samples = 250
-# chart.duration.param.default = "86400"
-# chart.chart_type = "stacked"
-# charts.add_child(chart)
-
-# chart = self.UserUsageChart(app, "useruse",
app.model.com_redhat_grid_plumage.Accountant)
-# chart.stats = ["resused"]
-# chart.max_samples = 250
-# filter = ReportingChart.FilterInput(app, "namefilter",
app.model.com_redhat_grid_plumage.Accountant,
app.model.com_redhat_grid_plumage.Accountant.user.name, "userc", "Filter
user")
-# chart.filters.append(filter)
-# chart.add_child(filter)
-# chart.duration.param.default= "86400"
-# charts.add_child(chart)
-
+
chartholder = AccountingChartWidget(app, "accchart")
charts.add_child(chartholder)
-
-
def render_title(self, session):
return "Accounting"
@@ -118,8 +87,8 @@
chart.chart_type = "genusechart"
chart.duration.param.default = "86400"
chart.leftlegend = False
- chart.height = 150
- chart.width = 400
+ chart.height = 165
+ chart.width = 440
self.add_child(chart)
class AccountingChartControl(Widget):
Show replies by date