From af26aaa53d073a7b2d25caee93e1cb5ceb2e099c Mon Sep 17 00:00:00 2001
From: Igor Sfiligoi <isfiligoi@ucsd.edu>
Date: Fri, 23 Oct 2009 09:07:01 -0400
Subject: flot-0.6

---
 examples/zooming.html | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

(limited to 'examples/zooming.html')

diff --git a/examples/zooming.html b/examples/zooming.html
index d74f065..b485912 100644
--- a/examples/zooming.html
+++ b/examples/zooming.html
@@ -7,6 +7,7 @@
     <!--[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>
+    <script language="javascript" type="text/javascript" src="../jquery.flot.selection.js"></script>
  </head>
     <body>
     <h1>Flot Examples</h1>
@@ -26,7 +27,7 @@
       the small overview plot to the right has been connected to the large
       plot. Try selecting a rectangle on either of them.</p>
 
-<script id="source" language="javascript" type="text/javascript">
+<script id="source">
 $(function () {
     // setup plot
     function getData(x1, x2) {
@@ -43,8 +44,10 @@ $(function () {
 
     var options = {
         legend: { show: false },
-        lines: { show: true },
-        points: { show: true },
+        series: {
+            lines: { show: true },
+            points: { show: true }
+        },
         yaxis: { ticks: 10 },
         selection: { mode: "xy" }
     };
@@ -56,8 +59,10 @@ $(function () {
     // setup overview
     var overview = $.plot($("#overview"), startData, {
         legend: { show: true, container: $("#overviewLegend") },
-        lines: { show: true, lineWidth: 1 },
-        shadowSize: 0,
+        series: {
+            lines: { show: true, lineWidth: 1 },
+            shadowSize: 0
+        },
         xaxis: { ticks: 4 },
         yaxis: { ticks: 3, min: -2, max: 2 },
         grid: { color: "#999" },
-- 
cgit v1.2.3-2-g168b