From 5243c1653b238b8d873d9c6a27b780426e24aec3 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 30 Apr 2013 18:21:56 -0700 Subject: 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 --- python/gras/query/chart_overall_throughput.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/gras/query/chart_overall_throughput.js') diff --git a/python/gras/query/chart_overall_throughput.js b/python/gras/query/chart_overall_throughput.js index 280c10a..6d66e40 100644 --- a/python/gras/query/chart_overall_throughput.js +++ b/python/gras/query/chart_overall_throughput.js @@ -1,4 +1,4 @@ -function GrasChartOverallThroughput(args) +function GrasChartOverallThroughput(args, panel) { //save enables this.ids = args.block_ids; @@ -11,7 +11,7 @@ function GrasChartOverallThroughput(args) ); //make new chart - this.chart = new google.visualization.LineChart(args.panel); + this.chart = new google.visualization.LineChart(panel); this.title = "Overall Throughput vs Time in MIps"; this.history = new Array(); -- cgit