projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca73ec
)
dingle quotes.
author
Robert Konigsberg
<konigsberg@google.com>
Wed, 23 Apr 2014 14:58:09 +0000
(10:58 -0400)
committer
Dan Vanderkam
<danvdk@gmail.com>
Wed, 22 Oct 2014 02:29:44 +0000
(22:29 -0400)
dygraph-interaction-model.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-interaction-model.js
b/dygraph-interaction-model.js
index
c97b060
..
0011346
100644
(file)
--- a/
dygraph-interaction-model.js
+++ b/
dygraph-interaction-model.js
@@
-39,7
+39,7
@@
Dygraph.Interaction.startPan = function(event, g, context) {
context.isPanning = true;
var xRange = g.xAxisRange();
- if (g.getOptionForAxis("logscale",
'x'
)) {
+ if (g.getOptionForAxis("logscale",
"x"
)) {
context.initialLeftmostDate = Dygraph.log10(xRange[0]);
context.dateRange = Dygraph.log10(xRange[1]) - Dygraph.log10(xRange[0]);
} else {
@@
-138,7
+138,7
@@
Dygraph.Interaction.movePan = function(event, g, context) {
}
}
- if (g.getOptionForAxis("logscale",
'x'
)) {
+ if (g.getOptionForAxis("logscale",
"x"
)) {
g.dateWindow_ = [ Math.pow(Dygraph.LOG_SCALE, minDate),
Math.pow(Dygraph.LOG_SCALE, maxDate) ];
} else {