diff --git a/js/tbl_zoom_plot_jqplot.js b/js/tbl_zoom_plot_jqplot.js index 82dab80931..fc1645773b 100644 --- a/js/tbl_zoom_plot_jqplot.js +++ b/js/tbl_zoom_plot_jqplot.js @@ -504,6 +504,12 @@ $(document).ready(function() { currentChart.resetZoom(); }); + $('div#querychart').resizable({ + resize: function(event, ui) { + currentChart.replot( {resetAxes: true}) + } + }); + $('div#querychart').bind('jqplotDataClick', function(event, seriesIndex, pointIndex, data) { searchedDataKey = data[4]; // key from searchedData (global)