projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/flooey/dygraphs
[dygraphs.git]
/
dygraph.js
diff --git
a/dygraph.js
b/dygraph.js
index
160b344
..
6bdb143
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-1411,10
+1411,6
@@
Dygraph.prototype.mouseMove_ = function(event) {
idx = i;
}
if (idx >= 0) lastx = points[idx].xval;
idx = i;
}
if (idx >= 0) lastx = points[idx].xval;
- // Check that you can really highlight the last day's data
- var last = points[points.length-1];
- if (last != null && canvasx > last.canvasx)
- lastx = points[points.length-1].xval;
// Extract the points we've selected
this.selPoints_ = [];
// Extract the points we've selected
this.selPoints_ = [];
@@
-1983,7
+1979,7
@@
Dygraph.binarySearch = function(val, arry, abs, low, high) {
}
return Dygraph.binarySearch(val, arry, abs, mid + 1, high);
}
}
return Dygraph.binarySearch(val, arry, abs, mid + 1, high);
}
-}
+}
;
/**
* Add ticks when the x axis has numbers on it (instead of dates)
/**
* Add ticks when the x axis has numbers on it (instead of dates)
@@
-2183,7
+2179,7
@@
Dygraph.prototype.extremeValues_ = function(series) {
* number of axes, rolling averages, etc.
*/
Dygraph.prototype.predraw_ = function() {
* number of axes, rolling averages, etc.
*/
Dygraph.prototype.predraw_ = function() {
- // TODO(danvk): mov
ability
e more computations out of drawGraph_ and into here.
+ // TODO(danvk): move more computations out of drawGraph_ and into here.
this.computeYAxes_();
// Create a new plotter.
this.computeYAxes_();
// Create a new plotter.