summaryrefslogtreecommitdiff
path: root/python/gras/query/chart_handler_breakdown.js
diff options
context:
space:
mode:
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;