Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2012-05-20 02:57:16 +0400
committerMarc Delisle <marc@infomarc.info>2012-05-20 02:57:16 +0400
commita88705463db29c36156fa6574bdc572fa8090a44 (patch)
tree8aad29ecad9d466de81941eeb0604a06632d715c /js/tbl_zoom_plot_jqplot.js
parentd584260d78d735c16c0c20b315c877b265080a4f (diff)
first attempt at resizing
Diffstat (limited to 'js/tbl_zoom_plot_jqplot.js')
-rw-r--r--js/tbl_zoom_plot_jqplot.js6
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)