Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
21627 kshitij.so 1
<!doctype html>
2
<head>
3
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
4
  <script src="https://raw.github.com/DmitryBaranovskiy/raphael/300aa589f5a0ba7fce667cd62c7cdda0bd5ad904/raphael-min.js"></script>
5
  <script src="../morris.js"></script>
6
  <script src="lib/prettify.js"></script>
7
  <script src="lib/example.js"></script>
8
  <link rel="stylesheet" href="lib/example.css">
9
  <link rel="stylesheet" href="lib/prettify.css">
10
  <link rel="stylesheet" href="../morris.css">
11
</head>
12
<body>
13
<h1>Daylight-savings time</h1>
14
<div id="graph"></div>
15
<pre id="code" class="prettyprint linenums">
16
// This crosses a DST boundary in the UK.
17
Morris.Area({
18
  element: 'graph',
19
  data: [
20
    {x: '2013-03-30 22:00:00', y: 3, z: 3},
21
    {x: '2013-03-31 00:00:00', y: 2, z: 0},
22
    {x: '2013-03-31 02:00:00', y: 0, z: 2},
23
    {x: '2013-03-31 04:00:00', y: 4, z: 4}
24
  ],
25
  xkey: 'x',
26
  ykeys: ['y', 'z'],
27
  labels: ['Y', 'Z']
28
});
29
</pre>
30
</body>