+<!DOCTYPE html>
<html>
<head>
<title>Native Format</title>
- <!--[if IE]>
- <script type="text/javascript" src="excanvas.js"></script>
- <![endif]-->
- <script type="text/javascript" src="../dygraph-combined.js"></script>
- <script type="text/javascript" src="../dygraph-canvas.js"></script>
- <script type="text/javascript" src="../dygraph.js"></script>
+ <!--
+ 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>
<p>These two charts should be indistinguishable:</p>
<div id="graphdiv2"></div>
<script type="text/javascript">
g2 = new Dygraph(document.getElementById("graphdiv2"),
- [
+ [
[1,10,100],
[2,20,80],
[3,50,60],
- [4,70,80],
+ [4,70,80]
],
{
- labels: [ "A", "B" ]
+ labels: [ "x", "A", "B" ]
});
</script>
</body>