projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
77812e0
)
Fix mis-named method.
author
Robert Konigsberg
<konigsberg@google.com>
Sun, 18 Nov 2012 01:10:34 +0000
(19:10 -0600)
committer
Robert Konigsberg
<konigsberg@google.com>
Sun, 18 Nov 2012 01:10:34 +0000
(19:10 -0600)
dygraph-options.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-options.js
b/dygraph-options.js
index
33150fe
..
95c1525
100644
(file)
--- a/
dygraph-options.js
+++ b/
dygraph-options.js
@@
-39,7
+39,7
@@
var DygraphOptions = function(dygraph) {
return; // -- can't do more for now, will parse after getting the labels.
};
return; // -- can't do more for now, will parse after getting the labels.
};
- this.reparse
ForLabel
s();
+ this.reparse
Serie
s();
}
DygraphOptions.prototype.reparseSeries = function() {
}
DygraphOptions.prototype.reparseSeries = function() {
@@
-101,7
+101,7
@@
DygraphOptions.prototype.find = function(name) {
DygraphOptions.prototype.findForAxis = function(name, axis) {
DygraphOptions.prototype.findForAxis = function(name, axis) {
- var axisIdx = (axis == "y2" || axis == 1) ? 1 : 0;
+ var axisIdx = (axis == "y2" || axis ==
"y2" || axis ==
1) ? 1 : 0;
var axisOptions = this.axes[axisIdx];
if (axisOptions.hasOwnProperty(name)) {
var axisOptions = this.axes[axisIdx];
if (axisOptions.hasOwnProperty(name)) {