projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[dygraphs.git]
/
dygraph.js
diff --git
a/dygraph.js
b/dygraph.js
index
5a805f5
..
a0e224e
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-1380,7
+1380,7
@@
Dygraph.numericTicks = function(minV, maxV, self) {
k_labels = [ "k", "M", "G", "T" ];
}
k_labels = [ "k", "M", "G", "T" ];
}
- // Allow
ing reverse valueRange
+ // Allow
reverse y-axis if it's explicitly requested.
if (low_val > high_val) scale *= -1;
for (var i = 0; i < nTicks; i++) {
if (low_val > high_val) scale *= -1;
for (var i = 0; i < nTicks; i++) {