4 name
: "Avoid Min Zero",
5 setup
: function(parent
) {
7 "<p>1: Line chart with axis at zero problem:</p><div id='graph1'></div> " +
8 "<p>2: Step chart with axis at zero problem:</p><div id='graphd2'></div> " +
9 "<p>3: Line chart with <code>avoidMinZero</code> option:</p><div id='graph3'></div> " +
10 "<p>4: Step chart with <code>avoidMinZero</code> option:</p><div id='graphd4'></div> ";
13 var g1
= new Dygraph(document
.getElementById("graph1"),
14 "Date,Temperature\n" +
22 var g2
= new Dygraph(document
.getElementById("graphd2"),
23 "Date,Temperature\n" +
34 var g3
= new Dygraph(document
.getElementById("graph3"),
35 "Date,Temperature\n" +
46 var g4
= new Dygraph(document
.getElementById("graphd4"),
47 "Date,Temperature\n" +