+
+ // save Dygraph.warn so we can catch warnings.
+ // Disabled for now.
+ // var originalDygraphWarn = Dygraph.warn;
+ // Dygraph.warn = function(msg) {
+ // if (msg == "Using default labels. Set labels explicitly via 'labels' in the options parameter") {
+ // originalDygraphWarn(msg);
+ // return;
+ // }
+ // throw "Warnings not permitted: " + msg;
+ // }
+ // Dygraph.prototype.warn = Dygraph.warn;
+