summaryrefslogtreecommitdiff
path: root/query/chart_factory.js
diff options
context:
space:
mode:
authorJosh Blum2013-06-01 17:18:53 -0700
committerJosh Blum2013-06-01 17:18:53 -0700
commitbd7d2bff5fa5d23d2b7b5dfeec20c03cb97a4fb6 (patch)
tree8e63365ac10cc86e3297ad3aaa247f6a676bc6db /query/chart_factory.js
parent618c0467762e3610f7e2afa48016183ff3a67060 (diff)
downloadsandhi-bd7d2bff5fa5d23d2b7b5dfeec20c03cb97a4fb6.tar.gz
sandhi-bd7d2bff5fa5d23d2b7b5dfeec20c03cb97a4fb6.tar.bz2
sandhi-bd7d2bff5fa5d23d2b7b5dfeec20c03cb97a4fb6.zip
props: switched input args over to JSON
Diffstat (limited to 'query/chart_factory.js')
-rw-r--r--query/chart_factory.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/query/chart_factory.js b/query/chart_factory.js
index d55a8fd..f3e02a7 100644
--- a/query/chart_factory.js
+++ b/query/chart_factory.js
@@ -39,7 +39,14 @@ function gras_chart_factory_update(registry, point)
registry.point = point; //store last data point
$.each(registry.active_charts, function(index, chart_info)
{
- chart_info.chart.update(point);
+ try
+ {
+ chart_info.chart.update(point);
+ }
+ catch(err)
+ {
+ //jQuery.error("gras_chart_factory_update error: " + err.message);
+ }
});
}