*
* @author dan@dygraphs.com (Dan Vanderkam)
*/
-var MultiCsvTestCase = TestCase("axis-labels");
+var MultiCsvTestCase = TestCase("multi-csv");
MultiCsvTestCase.prototype.setUp = function() {
document.body.innerHTML = "<div id='graph'></div>";
var graph = document.getElementById("graph");
var g = new Dygraph(graph, data, opts);
- assertEquals(['0','0.5','1','1.5','2','2.5'], getXLabels());
+ assertEquals(['0', '1', '2'], getXLabels());
};
MultiCsvTestCase.prototype.testTwoCSV = function() {
var graph = document.getElementById("graph");
var g = new Dygraph(graph, data, opts);
- assertEquals(['0','0.5','1','1.5','2','2.5'], getXLabels());
+ assertEquals(['0', '1', '2'], getXLabels());
g.updateOptions({file: data});
- assertEquals(['0','0.5','1','1.5','2','2.5'], getXLabels());
+ assertEquals(['0', '1', '2'], getXLabels());
};