Permalink
Browse files

first attempt at resizing

  • Loading branch information...
1 parent d584260 commit a88705463db29c36156fa6574bdc572fa8090a44 @lem9 lem9 committed May 19, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 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)

0 comments on commit a887054

Please sign in to comment.