diff options
author | Josh Blum | 2013-04-30 18:21:56 -0700 |
---|---|---|
committer | Josh Blum | 2013-04-30 18:21:56 -0700 |
commit | 5243c1653b238b8d873d9c6a27b780426e24aec3 (patch) | |
tree | 21392290f7ab178fb45d6166b19eb408a0edb714 /python/gras/query/chart_overall_throughput.js | |
parent | 59e99f4f5055287224a54f5d8ef7483ce60c40c9 (diff) | |
download | sandhi-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_overall_throughput.js')
-rw-r--r-- | python/gras/query/chart_overall_throughput.js | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |