Merge pull request #2 from witsa/master
[dygraphs.git] / plugins / install.js
index c87b06e..656d426 100644 (file)
@@ -1,3 +1,5 @@
+/*global Dygraph:false */
+
 // This file defines the ordering of the plugins.
 //
 // The ordering is from most-general to most-specific.
@@ -11,6 +13,8 @@
 Dygraph.PLUGINS.push(
   Dygraph.Plugins.Legend,
   Dygraph.Plugins.Axes,
+  Dygraph.Plugins.RangeSelector, // Has to be before ChartLabels so that its callbacks are called after ChartLabels' callbacks.
   Dygraph.Plugins.ChartLabels,
-  Dygraph.Plugins.Annotations
+  Dygraph.Plugins.Annotations,
+  Dygraph.Plugins.Grid
 );