Fixed attribute name typo in legend follow (#792)
[dygraphs.git] / tests / styled-chart-labels.html
index 07a43b9..35c0b5a 100644 (file)
@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html>
   <head>
+    <link rel="stylesheet" href="../css/dygraph.css">
     <title>two series</title>
     <!--
     For production (minified) code, use:
       margin: 5px;
       padding: 2px;
     }
+    .dygraph-legend {
+      text-align: right;
+      background: none;
+    }
     </style>
   </head>
   <body>
               titleHeight: 32,
               ylabel: 'Temperature (F)',
               xlabel: 'Date (Ticks indicate the start of the indicated time period)',
-              labelsDivStyles: {
-                'text-align': 'right',
-                'background': 'none'
-              },
               strokeWidth: 1.5
             }
           );
               title: 'High and Low Temperatures (30-day average)',
               ylabel: 'Temperature (F)',
               xlabel: 'Date (Ticks indicate the start of the indicated time period)',
-              labelsDivStyles: {
-                'text-align': 'right',
-                'background': 'none'
-              },
               strokeWidth: 1.5
             }
           );