projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e988d19
)
Fixed option support
author
Boivin Benoit
<benoitboivin.pro@gmail.com>
Thu, 5 Jun 2014 14:46:41 +0000
(16:46 +0200)
committer
Boivin Benoit
<benoitboivin.pro@gmail.com>
Thu, 5 Jun 2014 14:46:41 +0000
(16:46 +0200)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
1a8a09d
..
b7a49a5
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-672,7
+672,6
@@
DygraphCanvasRenderer._fillPlotter = function(e) {
var fillAlpha = g.getNumericOption('fillAlpha');
var stackedGraph = g.getBooleanOption("stackedGraph");
var fillAlpha = g.getNumericOption('fillAlpha');
var stackedGraph = g.getBooleanOption("stackedGraph");
- var fillStepPlot = g.getBooleanOption("stepPlot") && g.getBooleanOption("fillStepPlot");
var colors = g.getColors();
// For stacked graphs, track the baseline for filling.
var colors = g.getColors();
// For stacked graphs, track the baseline for filling.
@@
-692,6
+691,7
@@
DygraphCanvasRenderer._fillPlotter = function(e) {
if (!g.getBooleanOption('fillGraph', setName)) continue;
var stepPlot = g.getBooleanOption('stepPlot', setName);
if (!g.getBooleanOption('fillGraph', setName)) continue;
var stepPlot = g.getBooleanOption('stepPlot', setName);
+ var fillStepPlot = stepPlot && g.getBooleanOption("fillStepPlot", setName);
var color = colors[setIdx];
var axis = g.axisPropertiesForSeries(setName);
var axisY = 1.0 + axis.minyval * axis.yscale;
var color = colors[setIdx];
var axis = g.axisPropertiesForSeries(setName);
var axisY = 1.0 + axis.minyval * axis.yscale;