Merge pull request #2 from witsa/master
[dygraphs.git] / plugins / install.js
CommitLineData
0cd1ad15
DV
1/*global Dygraph:false */
2
f8540c66
DV
3// This file defines the ordering of the plugins.
4//
5// The ordering is from most-general to most-specific.
6// This means that, in an event cascade, plugins which have registered for that
7// event will be called in reverse order.
8//
9// This is most relevant for plugins which register a layout event, e.g.
10// Axes, Legend and ChartLabels.
11
5bd29cf4 12// TODO(danvk): move this into the top-level directory. Only plugins here.
e2c21500 13Dygraph.PLUGINS.push(
3a7f87be 14 Dygraph.Plugins.Legend,
f8540c66 15 Dygraph.Plugins.Axes,
0d216a60 16 Dygraph.Plugins.RangeSelector, // Has to be before ChartLabels so that its callbacks are called after ChartLabels' callbacks.
ee53deb9 17 Dygraph.Plugins.ChartLabels,
cbe41be1
DV
18 Dygraph.Plugins.Annotations,
19 Dygraph.Plugins.Grid
e2c21500 20);