Pass --grep to mocha from the command line.
[dygraphs.git] / tests / zero-series.html
... / ...
CommitLineData
1<!DOCTYPE html>
2<html>
3 <head>
4 <title>zero series</title>
5 <!--
6 For production (minified) code, use:
7 <script type="text/javascript" src="dygraph-combined.js"></script>
8 -->
9 <script type="text/javascript" src="../dist/dygraph.js"></script>
10
11 </head>
12 <body>
13 <p>Custom bars with a completely zero series. Both Y1 and Y2 should show.</p>
14
15 <div id="data" style="display:none">X,Y1,Y2
161,1;2;3,0;0;0
172,2;3;4,0;0;0
183,1;3;5,0;0;0
19</div>
20
21 <div id="graphdiv" style="width:600px; height:300px;"></div>
22 <script type="text/javascript">
23 var g = new Dygraph(document.getElementById("graphdiv"),
24 document.getElementById("data").innerHTML,
25 {
26 customBars: true
27 });
28 </script>
29 </body>
30</html>