projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4707563
)
Don't redraw graph stack in interactive highlight
author
Klaus Weidner
<klausw@google.com>
Sat, 9 Feb 2013 01:27:44 +0000
(17:27 -0800)
committer
Klaus Weidner
<klausw@google.com>
Sat, 9 Feb 2013 01:27:44 +0000
(17:27 -0800)
When drawing a single series during interactive highlight,
only use the last plotter.
Fixes issue 424.
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
89d28b4
..
de8430c
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-474,7
+474,7
@@
DygraphCanvasRenderer.prototype._renderLineChart = function(opt_seriesName, opt_
for (var j = 0; j < sets.length; j++) {
setName = setNames[j];
- if (opt_seriesName &&
setName != opt_seriesName
) continue;
+ if (opt_seriesName &&
!(is_last && setName == opt_seriesName)
) continue;
var points = sets[j];