projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a0ebb
)
fix bug (I think) introduced by 6faebb69
author
Dan Vanderkam
<dan@dygraphs.com>
Thu, 3 Mar 2011 00:22:48 +0000
(19:22 -0500)
committer
Dan Vanderkam
<dan@dygraphs.com>
Thu, 3 Mar 2011 00:22:48 +0000
(19:22 -0500)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
656d7a8
..
7f312b6
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-2870,7
+2870,7
@@
Dygraph.prototype.detectTypeFromString_ = function(str) {
this.attrs_.xTicker = Dygraph.dateTicker;
this.attrs_.xAxisLabelFormatter = Dygraph.dateAxisFormatter;
} else {
- this.attrs_.xValueFormatter = this.attrs_.
x
ValueFormatter;
+ this.attrs_.xValueFormatter = this.attrs_.
y
ValueFormatter;
this.attrs_.xValueParser = function(x) { return parseFloat(x); };
this.attrs_.xTicker = Dygraph.numericTicks;
this.attrs_.xAxisLabelFormatter = this.attrs_.xValueFormatter;