4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
7 <script type=
"text/javascript" src=
"../excanvas.js"></script>
9 <script type=
"text/javascript" src=
"../strftime/strftime-min.js"></script>
10 <script type=
"text/javascript" src=
"../rgbcolor/rgbcolor.js"></script>
11 <script type=
"text/javascript" src=
"../dygraph-canvas.js"></script>
12 <script type=
"text/javascript" src=
"../dygraph.js"></script>
15 <p>1: Simple line chart:
</p>
16 <div id=
"graphdiv1"></div>
17 <script type=
"text/javascript">
18 g1 = new Dygraph(document.getElementById(
"graphdiv1"),
19 "Date,Temperature\n" +
27 <p>2: Simple step chart:
</p>
28 <div id=
"graphdiv2"></div>
29 <script type=
"text/javascript">
30 g2 = new Dygraph(document.getElementById(
"graphdiv2"),
31 "Date,Temperature\n" +
42 <p>3: Filled step chart:
</p>
43 <div id=
"graphdiv3"></div>
44 <script type=
"text/javascript">
45 g3 = new Dygraph(document.getElementById(
"graphdiv3"),
46 "Date,Temperature\n" +
58 <p>4: Line chart with error bars:
</p>
59 <div id=
"graphdiv4"></div>
60 <script type=
"text/javascript">
61 g4 = new Dygraph(document.getElementById(
"graphdiv4"),
76 <p>5: Step chart with error bars:
</p>
77 <div id=
"graphdiv5"></div>
78 <script type=
"text/javascript">
79 g5 = new Dygraph(document.getElementById(
"graphdiv5"),
95 <p>6: Stepped chart with gaps from CSV:
</p>
96 <div id=
"graphdiv6"></div>
97 <script type=
"text/javascript">
99 document.getElementById(
"graphdiv6"),
100 "Date,GapSeries1,GapSeries2\n" +
101 "2009/12/01,10,10\n" +
102 "2009/12/02,15,11\n" +
106 "2009/12/06,18,15\n" +
107 "2009/12/07,12,16\n",
114 <p>7: Stepped chart with gaps from native data:
</p>
115 <div id=
"graphdiv7"></div>
116 <script type=
"text/javascript">
118 document.getElementById(
"graphdiv7"),
120 [ new Date(
"2009/12/01"),
10,
10],
121 [ new Date(
"2009/12/02"),
15,
11],
122 [ new Date(
"2009/12/03"), null,
12],
123 [ new Date(
"2009/12/04"), null,
13],
124 [ new Date(
"2009/12/05"),
15, null],
125 [ new Date(
"2009/12/06"),
18,
15],
126 [ new Date(
"2009/12/07"),
12,
16]
129 labels: [
"Date",
"GapSeries1",
"GapSeries2"],
132 GapSeries2: { axis: {} }