summaryrefslogtreecommitdiff
path: root/python/gras/query/chart_handler_breakdown.js
diff options
context:
space:
mode:
authorJosh Blum2013-04-30 18:40:22 -0700
committerJosh Blum2013-04-30 18:40:22 -0700
commite085418e9299af5590157d3abe61bd0a3c3ed93d (patch)
treeacd969e50124d7bce60eee182856adcee5380903 /python/gras/query/chart_handler_breakdown.js
parentea9e1357a550d1291fe145e4842d154674159533 (diff)
parent8457fa1c98db480745766b0074ef43c16f187544 (diff)
downloadsandhi-e085418e9299af5590157d3abe61bd0a3c3ed93d.tar.gz
sandhi-e085418e9299af5590157d3abe61bd0a3c3ed93d.tar.bz2
sandhi-e085418e9299af5590157d3abe61bd0a3c3ed93d.zip
Merge branch 'master' into theron6_work
Conflicts: Theron
Diffstat (limited to 'python/gras/query/chart_handler_breakdown.js')
-rw-r--r--python/gras/query/chart_handler_breakdown.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/gras/query/chart_handler_breakdown.js b/python/gras/query/chart_handler_breakdown.js
index 459c2d3..5f76d1d 100644
--- a/python/gras/query/chart_handler_breakdown.js
+++ b/python/gras/query/chart_handler_breakdown.js
@@ -1,4 +1,4 @@
-function GrasChartHandlerBreakdown(args)
+function GrasChartHandlerBreakdown(args, panel)
{
//input checking
if (args.block_ids.length != 1) throw gras_error_dialog(
@@ -11,7 +11,7 @@ function GrasChartHandlerBreakdown(args)
this.block_id = args.block_ids[0];
//make new chart
- this.chart = new google.visualization.PieChart(args.panel);
+ this.chart = new google.visualization.PieChart(panel);
this.title = "Handler Breakdown - " + this.block_id;
this.default_width = GRAS_CHARTS_STD_WIDTH;