first attempt at resizing

This commit is contained in:
Marc Delisle 2012-05-19 18:57:16 -04:00
parent d584260d78
commit a88705463d

View File

@ -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)