Commit b93716b3 authored by olau@iola.dk's avatar olau@iola.dk

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
parent e1780ffe
...@@ -105,7 +105,7 @@ $(function () { ...@@ -105,7 +105,7 @@ $(function () {
}); });
$("#setSelection").click(function () { $("#setSelection").click(function () {
plot.setSelection({ x1: 1994, x2: 1995 }); plot.setSelection({ xaxis: { from: 1994, to: 1995 } });
}); });
}); });
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment