diff options
Diffstat (limited to 'examples/selection.html')
-rw-r--r-- | examples/selection.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/selection.html b/examples/selection.html index 8b67a2b..1646f5a 100644 --- a/examples/selection.html +++ b/examples/selection.html @@ -3,8 +3,8 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Flot Examples</title> - <link href="layout.css" rel="stylesheet" type="text/css"></link> - <!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]--> + <link href="layout.css" rel="stylesheet" type="text/css"> + <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]--> <script language="javascript" type="text/javascript" src="../jquery.js"></script> <script language="javascript" type="text/javascript" src="../jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="../jquery.flot.selection.js"></script> @@ -35,9 +35,9 @@ in the "plotselected" event triggered. Enable the checkbox below and select a region again.</p> - <p><input id="zoom" type="checkbox">Zoom to selection.</input></p> + <p><label><input id="zoom" type="checkbox" />Zoom to selection.</label></p> -<script id="source" language="javascript" type="text/javascript"> +<script type="text/javascript"> $(function () { var data = [ { @@ -105,7 +105,7 @@ $(function () { }); $("#setSelection").click(function () { - plot.setSelection({ x1: 1994, x2: 1995 }); + plot.setSelection({ xaxis: { from: 1994, to: 1995 } }); }); }); </script> |