From b93716b3e77bce4f8776ced69ca91b97e52580eb Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Thu, 15 Apr 2010 11:03:11 +0000 Subject: [PATCH] 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 --- examples/selection.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/selection.html b/examples/selection.html index 8b67a2b..531e8e2 100644 --- a/examples/selection.html +++ b/examples/selection.html @@ -105,7 +105,7 @@ $(function () { }); $("#setSelection").click(function () { - plot.setSelection({ x1: 1994, x2: 1995 }); + plot.setSelection({ xaxis: { from: 1994, to: 1995 } }); }); });