fix gviz-numeric test
[dygraphs.git] / tests / custom-bars.html
CommitLineData
285a6bda
DV
1<html>
2 <head>
3 <title>custom bars</title>
4 <!--[if IE]>
a2b2c3a1 5 <script type="text/javascript" src="../excanvas.js"></script>
285a6bda 6 <![endif]-->
d37dca40
DV
7 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
8 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
285a6bda
DV
9 <script type="text/javascript" src="../dygraph-canvas.js"></script>
10 <script type="text/javascript" src="../dygraph.js"></script>
11 <script type="text/javascript" src="data.js"></script>
12 </head>
13 <body>
14 <p>Top and bottom of the bars stay mostly fixed while the middle varies.</p>
15 <div id="graph"></div>
16
17 <script type="text/javascript">
18 new Dygraph(document.getElementById("graph"),
19 [
20 [1, [10, 10, 100]],
21 [2, [15, 20, 110]],
22 [3, [10, 30, 100]],
23 [4, [15, 40, 110]],
24 [5, [10, 120, 100]],
25 [6, [15, 50, 110]],
26 [7, [10, 70, 100]],
27 [8, [15, 90, 110]],
28 [9, [10, 50, 100]]
29 ], {
30 customBars: true,
31 errorBars: true
32 }
33 );
34 </script>
35 </body>
36</html>