Skip to content

Commit

Permalink
first attempt at resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
lem9 committed May 19, 2012
1 parent d584260 commit a887054
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/tbl_zoom_plot_jqplot.js
Expand Up @@ -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)
Expand Down

0 comments on commit a887054

Please sign in to comment.