Merge branch 'master' of https://github.com/kberg/dygraphs
[dygraphs.git] / tests / per-series.html
index 8ac90df..9fb02d1 100644 (file)
@@ -1,8 +1,10 @@
+<!DOCTYPE html>
 <html>
   <head>
+    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
     <title>Per-Series Properties</title>
     <!--[if IE]>
-    <script type="text/javascript" src="excanvas.js"></script>
+    <script type="text/javascript" src="../excanvas.js"></script>
     <![endif]-->
     <script type="text/javascript" src="../strftime/strftime-min.js"></script>
     <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
@@ -12,8 +14,6 @@
   <body>
     <h2>Chart with per-series properties</h2>
     <div id="demodiv"></div>
-    <br/><br/>
-    <div id="demodiv2"></div>
 
     <script type="text/javascript">
       g = new Dygraph(
               },
               {
                 strokeWidth: 2,
-                1: {
+                'parabola': {
                   strokeWidth: 0.0,
                   drawPoints: true,
                   pointSize: 4,
                   highlightCircleSize: 6
                 },
-                2: {
+                'line': {
                   strokeWidth: 1.0,
                   drawPoints: true,
                   pointSize: 1.5
                 },
-                3: {
+                'sine wave': {
                   strokeWidth: 3,
                   highlightCircleSize: 10
                 }