dcos-dygraphs
Version:
dygraphs is a fast, flexible open source JavaScript charting library.
40 lines (38 loc) • 825 B
HTML
<html>
<head>
<title>isolated points</title>
<!--
For production (minified) code, use:
<script type="text/javascript" src="dygraph-combined.js"></script>
-->
<script type="text/javascript" src="../dist/dygraph.js"></script>
</head>
<body>
<div id="graph"></div>
<script type="text/javascript">
var g = new Dygraph(
document.getElementById("graph"),
[
[ 1, 10, 11],
[ 2, 15, null],
[ 3, null, null],
[ 4, 20, 13],
[ 5, null, 10],
[ 6, 18, null],
[ 7, 12, 16]
],
{
labels: ["X", "S1", "S2" ],
series: {
S1: {
drawGapEdgePoints: true
}
},
pointSize: 4,
showRoller: true
}
);
</script>
</body>
</html>