-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log along the x-axis (bug 189) #296
Conversation
Conflicts: dygraph-layout.js
context.dateRange = xRange[1] - xRange[0]; | ||
context.initialLeftmostDate = xRange[0]; | ||
|
||
if (g.getOptionForAxis("logscale", 'x')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
single quotes? double quotes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What, you don't appreciate art? Fixed.
@@ -207,6 +212,14 @@ DygraphLayout.prototype._evaluateLimits = function() { | |||
} | |||
}; | |||
|
|||
DygraphLayout.calcXNormal_ = function(value, axis, logscale) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is DygraphAxisType really DygraphYAxisType? This code is duplicated and I'm not sure that it needs to be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are you referring to?
The code needs to be duplicated because of the x-prefixes. Also, I wouldn't stress too much over five duplicate lines, though I agree clean-up would be nice.
ping! |
No description provided.