summaryrefslogtreecommitdiff
path: root/examples/selection.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/selection.html')
-rw-r--r--examples/selection.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/selection.html b/examples/selection.html
index 4a745d7..56cb3db 100644
--- a/examples/selection.html
+++ b/examples/selection.html
@@ -4,7 +4,7 @@
<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.pack.js"></script><![endif]-->
+ <!--[if IE]><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>
</head>
@@ -90,6 +90,10 @@ $(function () {
xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to }
}));
});
+
+ placeholder.bind("plotunselected", function (event) {
+ $("#selection").text("");
+ });
var plot = $.plot(placeholder, data, options);