diff options
Diffstat (limited to 'python/gras/query/chart_factory.js')
-rw-r--r-- | python/gras/query/chart_factory.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/gras/query/chart_factory.js b/python/gras/query/chart_factory.js index e4382d3..122d222 100644 --- a/python/gras/query/chart_factory.js +++ b/python/gras/query/chart_factory.js @@ -126,10 +126,9 @@ function gras_chart_factory_make(registry, args) tr.append(td); //call into the factory - args.panel = td.get(0); try { - var chart = new registry.chart_factories[args.chart_type](args); + var chart = new registry.chart_factories[args.chart_type](args, td.get(0)); } catch(err) { |