فهرست منبع

Add hook processRange to flot plugin.

ilgizar 7 سال پیش
والد
کامیت
258a0d276c
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      public/vendor/flot/jquery.flot.js

+ 3 - 0
public/vendor/flot/jquery.flot.js

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