projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #499 from danvk/synchronizer
[dygraphs.git]
/
auto_tests
/
tests
/
axis_labels.js
diff --git
a/auto_tests/tests/axis_labels.js
b/auto_tests/tests/axis_labels.js
index
25a8161
..
13de031
100644
(file)
--- a/
auto_tests/tests/axis_labels.js
+++ b/
auto_tests/tests/axis_labels.js
@@
-229,7
+229,7
@@
AxisLabelsTestCase.prototype.testDateAxisLabelFormatter = function () {
var graph = document.getElementById("graph");
var g = new Dygraph(graph, data, opts);
var graph = document.getElementById("graph");
var g = new Dygraph(graph, data, opts);
- assertEquals(["x2011/01/02"], Util.getXLabels());
+ assertEquals(["x2011/01/02"
,"x2011/01/04","x2011/01/06","x2011/01/08"
], Util.getXLabels());
assertEquals(["y5","y10","y15"], Util.getYLabels());
g.setSelection(0);
assertEquals(["y5","y10","y15"], Util.getYLabels());
g.setSelection(0);
@@
-318,7
+318,7
@@
AxisLabelsTestCase.prototype.testDateValueFormatter = function () {
var g = new Dygraph(graph, data, opts);
// valueFormatters do not affect ticks.
var g = new Dygraph(graph, data, opts);
// valueFormatters do not affect ticks.
- assertEquals(["02 Jan"], Util.getXLabels());
+ assertEquals(["02 Jan"
,"04 Jan","06 Jan","08 Jan"
], Util.getXLabels());
assertEquals(["5","10","15"], Util.getYLabels());
// the valueFormatter options also affect the legend.
assertEquals(["5","10","15"], Util.getYLabels());
// the valueFormatter options also affect the legend.