Use xaxis: { from: x1, to: x2 } instead of the older x1: x1, x2: x2

syntax for setSelection


git-svn-id: https://flot.googlecode.com/svn/trunk@249 1e0a6537-2640-0410-bfb7-f154510ff394
pull/1/head
olau@iola.dk 16 years ago
parent e1780ffe24
commit b93716b3e7

@ -105,7 +105,7 @@ $(function () {
});
$("#setSelection").click(function () {
plot.setSelection({ x1: 1994, x2: 1995 });
plot.setSelection({ xaxis: { from: 1994, to: 1995 } });
});
});
</script>

Loading…
Cancel
Save