Commit | Line | Data |
---|---|---|
f8540c66 DV |
1 | // This file defines the ordering of the plugins. |
2 | // | |
3 | // The ordering is from most-general to most-specific. | |
4 | // This means that, in an event cascade, plugins which have registered for that | |
5 | // event will be called in reverse order. | |
6 | // | |
7 | // This is most relevant for plugins which register a layout event, e.g. | |
8 | // Axes, Legend and ChartLabels. | |
9 | ||
5bd29cf4 | 10 | // TODO(danvk): move this into the top-level directory. Only plugins here. |
e2c21500 | 11 | Dygraph.PLUGINS.push( |
3a7f87be | 12 | Dygraph.Plugins.Legend, |
f8540c66 | 13 | Dygraph.Plugins.Axes, |
ee53deb9 | 14 | Dygraph.Plugins.ChartLabels, |
cbe41be1 DV |
15 | Dygraph.Plugins.Annotations, |
16 | Dygraph.Plugins.Grid | |
e2c21500 | 17 | ); |