Add hook processRange to flot plugin.

This commit is contained in:
ilgizar 2018-02-18 00:51:32 +05:00
parent dba087463a
commit 258a0d276c

View File

@ -632,6 +632,7 @@ Licensed under the MIT license.
processRawData: [], processRawData: [],
processDatapoints: [], processDatapoints: [],
processOffset: [], processOffset: [],
processRange: [],
drawBackground: [], drawBackground: [],
drawSeries: [], drawSeries: [],
draw: [], draw: [],
@ -1613,6 +1614,8 @@ Licensed under the MIT license.
setRange(axis); setRange(axis);
}); });
executeHooks(hooks.processRange, []);
if (showGrid) { if (showGrid) {
var allocatedAxes = $.grep(axes, function (axis) { var allocatedAxes = $.grep(axes, function (axis) {