diff --git a/WebSites/ts2_helevpres/plugins/thirdparty/flot_extended.plugin.js b/WebSites/ts2_helevpres/plugins/thirdparty/flot_extended.plugin.js index 7a2c74780fadb7184c9f2dedfbc5367a4f34f4f3..d00b086c45aa3205d029b38e854959af46b10495 100755 --- a/WebSites/ts2_helevpres/plugins/thirdparty/flot_extended.plugin.js +++ b/WebSites/ts2_helevpres/plugins/thirdparty/flot_extended.plugin.js @@ -64,7 +64,7 @@ self.reset = function(e) { - self.zoom(e, { + self.zoom(e, { xaxis: {from: null, to: null}, yaxis: {from: null, to: null}, }) @@ -73,7 +73,7 @@ self.zoom = function (event, ranges) { if (!ranges.xaxis) return - + var opts = plot.getOptions() _.each(opts.xaxes, function(axis) { axis.min = ranges.xaxis.from @@ -83,7 +83,7 @@ axis.min = ranges.yaxis.from axis.max = ranges.yaxis.to }) - + plot.setupGrid() plot.draw() plot.clearSelection() @@ -123,7 +123,7 @@ tooltip.appendTo($container); console.log(currentSettings.zoom, currentSettings.zoom == "") - var options = { + var options = { grid: { borderWidth: 0, hoverable: currentSettings.tooltip,