<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
    <title>no-visibility</title>
    <!--[if IE]>
    <script type="text/javascript" src="../excanvas.js"></script>
    <![endif]-->
    <script type="text/javascript" src="../strftime/strftime-min.js"></script>
    <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
    <script type="text/javascript" src="../dygraph-canvas.js"></script>
    <script type="text/javascript" src="../dygraph.js"></script>
    <script type="text/javascript" src="data.js"></script>
  </head>
  <body>
    <h3>No visible series</h3>
    <p>This test verifies that a chart will still draw without any JS errors
    when no series are visible.</p>
    <div id="div_g" style="width:400px; height:200px;"></div>

    <script type="text/javascript">
      g = new Dygraph(
            document.getElementById("div_g"),
            NoisyData, {
              rollPeriod: 7,
              errorBars: true,
              visibility: [false, false]
            }
          );
    </script>

  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
    <title>no-visibility</title>
    <!--[if IE]>
    <script type="text/javascript" src="../excanvas.js"></script>
    <![endif]-->
    <script type="text/javascript" src="../strftime/strftime-min.js"></script>
    <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
    <script type="text/javascript" src="../dygraph-canvas.js"></script>
    <script type="text/javascript" src="../dygraph.js"></script>
    <script type="text/javascript" src="data.js"></script>
  </head>
  <body>
    <h3>No visible series</h3>
    <p>This test verifies that a chart will still draw without any JS errors
    when no series are visible.</p>
    <div id="div_g" style="width:400px; height:200px;"></div>
    <p>This graph's specified value range should be respected.</p>
    <div id="div_g2" style="width:400px; height:200px;"></div>

    <script type="text/javascript">
      g = new Dygraph(
            document.getElementById("div_g"),
            NoisyData, {
              rollPeriod: 7,
              errorBars: true,
              visibility: [false, false]
            }
          );
      g = new Dygraph(
            document.getElementById("div_g2"),
            NoisyData, {
              rollPeriod: 7,
              errorBars: true,
              visibility: [false, false],
              valueRange: [100, 200]
            }
          );
    </script>

  </body>
</html>

Add test for value range being respected when no lines are visible.
Add test for value range being respected when no lines are visible.
