Merge pull request #464 from danvk/sourcemap
[dygraphs.git] / dygraph-plugin-install.js
... / ...
CommitLineData
1/*global Dygraph:false */
2
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
12Dygraph.PLUGINS.push(
13 Dygraph.Plugins.Legend,
14 Dygraph.Plugins.Axes,
15 Dygraph.Plugins.RangeSelector, // Has to be before ChartLabels so that its callbacks are called after ChartLabels' callbacks.
16 Dygraph.Plugins.ChartLabels,
17 Dygraph.Plugins.Annotations,
18 Dygraph.Plugins.Grid
19);