| 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 | |
| 10 | // TODO(danvk): move this into the top-level directory. Only plugins here. |
| 11 | Dygraph.PLUGINS.push( |
| 12 | Dygraph.Plugins.Legend, |
| 13 | Dygraph.Plugins.Axes, |
| 14 | Dygraph.Plugins.ChartLabels, |
| 15 | Dygraph.Plugins.Annotations, |
| 16 | Dygraph.Plugins.Grid |
| 17 | ); |