Add a legendFormatter option
[dygraphs.git] / tests / labelsDateUTC.html
index a4abfc3..fe26753 100644 (file)
@@ -1,23 +1,19 @@
 <!DOCTYPE html>
 <html>
   <head>
-    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
     <title>UTC date labels</title>
-    <!--[if IE]>
-    <script type="text/javascript" src="../excanvas.js"></script>
-    <![endif]-->
     <!--
     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>
   </head>
   <body>
 
     <h2>UTC date and time labels</h2>
 
     <p>This shows how date ticks and labels may be generated according to local 
-    time (default) or UTC with the option <code>labelsDateUTC</code>.</p>
+    time (default) or UTC with the option <code>labelsUTC</code>.</p>
     
     <p>72 hours of random hourly data since 2009-Jul-23 18:00 UTC 
     according to local time (top) and UTC (bottom):</p>
@@ -54,7 +50,7 @@
                    document.getElementById("div_utc"),
                    data,
                    {
-                     labelsDateUTC: true,
+                     labelsUTC: true,
                      labels: ['UTC', 'random']
                    }
                  );