add back Dygraph.floatFormat
[dygraphs.git] / tests / zero-series.html
CommitLineData
54425b14 1<!DOCTYPE html>
8b91c51f
DV
2<html>
3 <head>
10494b48 4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
8b91c51f
DV
5 <title>zero series</title>
6 <!--[if IE]>
a2b2c3a1 7 <script type="text/javascript" src="../excanvas.js"></script>
8b91c51f 8 <![endif]-->
d37dca40
DV
9 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
10 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
8b91c51f
DV
11 <script type="text/javascript" src="../dygraph-canvas.js"></script>
12 <script type="text/javascript" src="../dygraph.js"></script>
13 </head>
14 <body>
15 <p>Custom bars with a completely zero series. Both Y1 and Y2 should show.</p>
16
17 <div id="data" style="display:none">X,Y1,Y2
181,1;2;3,0;0;0
192,2;3;4,0;0;0
203,1;3;5,0;0;0
21</div>
22
23 <div id="graphdiv" style="width:600px; height:300px;"></div>
24 <script type="text/javascript">
25 new Dygraph(document.getElementById("graphdiv"),
26 document.getElementById("data").innerHTML,
27 {
28 customBars: true
29 });
30 </script>
31 </body>
32</html>