Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (35 sloc) 1.11 KB
<!DOCTYPE html>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>Daylight Savings</title>
<!--[if IE]>
<script type="text/javascript" src="../excanvas.js"></script>
For production (minified) code, use:
<script type="text/javascript" src="dygraph-combined.js"></script>
<script type="text/javascript" src="../dygraph-dev.js"></script>
<p>This tests that tick marks don't break when the axis crosses into
daylight savings time.</p>
<div id="demodiv"></div>
<p>The tick marks should all be on day boundaries or nice hours (6, 12, 18),
rather than on odd time boundaries like 5, 11, 17 and 23.</p>
<script type="text/javascript">
g = new Dygraph(
"Date/Time,Purchases\n" +
"2010-11-05 00:00:00,167082\n" +
"2010-11-06 00:00:00,168571\n" +
"2010-11-07 00:00:00,177796\n" +
"2010-11-08 00:00:00,165587\n" +
"2010-11-09 00:00:00,164380\n",
{ width: 1024 }
Something went wrong with that request. Please try again.