projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BUG FIX: Fixed indentation in respect to the jslint rules.
[dygraphs.git]
/
dygraph-canvas.js
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
89d28b4
..
6567808
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-261,7
+261,12
@@
DygraphCanvasRenderer._drawStyledLine = function(e,
drawPointCallback, pointSize) {
var g = e.dygraph;
// TODO(konigsberg): Compute attributes outside this method call.
drawPointCallback, pointSize) {
var g = e.dygraph;
// TODO(konigsberg): Compute attributes outside this method call.
- var stepPlot = g.getOption("stepPlot"); // TODO(danvk): per-series
+ var stepPlot = g.getOption("stepPlot");
+ var seriesStepPlot = g.getOption("stepPlot",e.setName);
+ if(seriesStepPlot !== undefined) {
+ stepPlot = seriesStepPlot;
+ }
+
if (!Dygraph.isArrayLike(strokePattern)) {
strokePattern = null;
}
if (!Dygraph.isArrayLike(strokePattern)) {
strokePattern = null;
}