<script type="text/javascript" src="../tests/multi_csv.js"></script>
<script type="text/javascript" src="../tests/multiple_axes.js"></script>
<script type="text/javascript" src="../tests/multiple_axes-old.js"></script>
- <script type="text/javascript" src="../tests/numeric-labels.js"></script>
<script type="text/javascript" src="../tests/no_hours.js"></script>
<script type="text/javascript" src="../tests/parser.js"></script>
<script type="text/javascript" src="../tests/pathological_cases.js"></script>
};
var graph = document.getElementById("graph");
var data = "X,A,B,C,D,E\n0,1,2,3,4,5\n";
+ var threw = false;
try {
new Dygraph(graph, data, opts);
} catch(e) {
- assertEquals(
- "Using objects for axis specification is not supported inside the 'series' option.",
- e);
+ threw = true;
}
+
+ assertTrue(threw);
}