<div id="graph2"></div>
</td><td valign=top>
<div id="graph3"></div>
+ <div id="graph4"></div>
</td></tr>
</table>
[2, [12, 2], [22, 3]],
[3, [ 8, 2], [25, 3]],
[4, [null, 2], [18, 3]],
- [5, [11, 2], [20, 3]],
+ [5, [11, 2], [null, 3]],
[6, [ 9, 2], [22, 3]],
[7, [10, 2], [23, 3]],
],
labels: [ "X", "Series1", "Series2" ]
}
);
+
+ new Dygraph(
+ document.getElementById("graph4"),
+ [
+ [1, [10, 2], [20, 3]],
+ [2, [12, 2], [22, 3]],
+ [3, [ 8, 2], [25, 3]],
+ [4, [null, 2], [18, 3]],
+ [5, [11, 2], [null, 3]],
+ [6, [ 9, 2], [22, 3]],
+ [7, [10, 2], [23, 3]],
+ ],
+ {
+ errorBars: true,
+ rollPeriod: 2,
+ labels: [ "X", "Series1", "Series2" ]
+ }
+ );
</script>
</body>
</html>