Make old-style per-series options throw (#783)
[dygraphs.git] / tests / temperature-sf-ny.html
index 8858fdb..a778d77 100644 (file)
@@ -1,18 +1,22 @@
 <!DOCTYPE html> 
 <html> 
   <head> 
+    <link rel="stylesheet" href="../css/dygraph.css">
     <title>Temperatures</title> 
     <!--
     For production (minified) code, use:
     <script type="text/javascript" src="dygraph-combined.js"></script>
     --> 
-    <script type="text/javascript" src="../dygraph-dev.js"></script> 
+    <script type="text/javascript" src="../dist/dygraph.js"></script> 
  
     <script type="text/javascript" src="data.js"></script> 
     <style type="text/css"> 
     #bordered {
       border: 1px solid red;
     }
+    .dygraph-legend {
+      text-align: right;
+    }
     </style> 
   </head> 
   <body> 
@@ -34,7 +38,6 @@
             title: 'Daily Temperatures in New York vs. San Francisco',
             ylabel: 'Temperature (F)',
             legend: 'always',
-            labelsDivStyles: { 'textAlign': 'right' }
           }
       );
       g2 = new Dygraph(
@@ -47,7 +50,6 @@
             title: 'Daily Temperatures in New York vs. San Francisco',
             ylabel: 'Temperature (F)',
             legend: 'always',
-            labelsDivStyles: { 'textAlign': 'right' }
           }
       );
     </script>