<!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>
<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>
document.getElementById("div_utc"),
data,
{
- labelsDateUTC: true,
+ labelsUTC: true,
labels: ['UTC', 'random']
}
);