projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
almost passing!
[dygraphs.git]
/
dygraph-tickers.js
diff --git
a/dygraph-tickers.js
b/dygraph-tickers.js
index
f4778b1
..
d2e1003
100644
(file)
--- a/
dygraph-tickers.js
+++ b/
dygraph-tickers.js
@@
-184,7
+184,7
@@
Dygraph.numericTicks = function(a, b, pixels, opts, dygraph, vals) {
// Construct the set of ticks.
// Allow reverse y-axis if it's explicitly requested.
if (low_val > high_val) scale *= -1;
- for (i = 0; i < nTicks; i++) {
+ for (i = 0; i <
=
nTicks; i++) {
tickV = low_val + i * scale;
ticks.push( {v: tickV} );
}