Commit | Line | Data |
---|---|---|
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 | ||
e2c21500 | 12 | Dygraph.PLUGINS.push( |
3a7f87be | 13 | Dygraph.Plugins.Legend, |
f8540c66 | 14 | Dygraph.Plugins.Axes, |
0d216a60 | 15 | Dygraph.Plugins.RangeSelector, // Has to be before ChartLabels so that its callbacks are called after ChartLabels' callbacks. |
ee53deb9 | 16 | Dygraph.Plugins.ChartLabels, |
cbe41be1 DV |
17 | Dygraph.Plugins.Annotations, |
18 | Dygraph.Plugins.Grid | |
e2c21500 | 19 | ); |