summaryrefslogtreecommitdiff
path: root/python/gras/query/chart_overhead_compare.js
diff options
context:
space:
mode:
authorJosh Blum2013-04-30 18:21:56 -0700
committerJosh Blum2013-04-30 18:21:56 -0700
commit5243c1653b238b8d873d9c6a27b780426e24aec3 (patch)
tree21392290f7ab178fb45d6166b19eb408a0edb714 /python/gras/query/chart_overhead_compare.js
parent59e99f4f5055287224a54f5d8ef7483ce60c40c9 (diff)
downloadsandhi-5243c1653b238b8d873d9c6a27b780426e24aec3.tar.gz
sandhi-5243c1653b238b8d873d9c6a27b780426e24aec3.tar.bz2
sandhi-5243c1653b238b8d873d9c6a27b780426e24aec3.zip
query: do not save the panel in args
args is meant to be serialized for local storage factory functions now get panel as another argument
Diffstat (limited to 'python/gras/query/chart_overhead_compare.js')
-rw-r--r--python/gras/query/chart_overhead_compare.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/gras/query/chart_overhead_compare.js b/python/gras/query/chart_overhead_compare.js
index 9ad324c..0ec9070 100644
--- a/python/gras/query/chart_overhead_compare.js
+++ b/python/gras/query/chart_overhead_compare.js
@@ -1,4 +1,4 @@
-function GrasChartOverheadCompare(args)
+function GrasChartOverheadCompare(args, panel)
{
//save enables
this.ids = args.block_ids;
@@ -11,7 +11,7 @@ function GrasChartOverheadCompare(args)
);
//make new chart
- this.chart = new google.visualization.PieChart(args.panel);
+ this.chart = new google.visualization.PieChart(panel);
this.title = "Overhead Comparison";
this.default_width = GRAS_CHARTS_STD_WIDTH;