diff options
author | Marc Delisle <marc@infomarc.info> | 2012-05-20 02:57:16 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2012-05-20 02:57:16 +0400 |
commit | a88705463db29c36156fa6574bdc572fa8090a44 (patch) | |
tree | 8aad29ecad9d466de81941eeb0604a06632d715c /js/tbl_zoom_plot_jqplot.js | |
parent | d584260d78d735c16c0c20b315c877b265080a4f (diff) |
first attempt at resizing
Diffstat (limited to 'js/tbl_zoom_plot_jqplot.js')
-rw-r--r-- | js/tbl_zoom_plot_jqplot.js | 6 |
1 files changed, 6 insertions, 0 deletions
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) |