projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c1f38
)
log a warning when fillGraph is used with errorBars
author
Dan Vanderkam
<danvk@google.com>
Thu, 17 Dec 2009 16:11:08 +0000
(08:11 -0800)
committer
Dan Vanderkam
<danvk@google.com>
Thu, 17 Dec 2009 16:11:08 +0000
(08:11 -0800)
dygraph-canvas.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-canvas.js
b/dygraph-canvas.js
index
3db31a7
..
8cadd2d
100644
(file)
--- a/
dygraph-canvas.js
+++ b/
dygraph-canvas.js
@@
-468,6
+468,10
@@
DygraphCanvasRenderer.prototype._renderLineChart = function() {
var ctx = context;
if (errorBars) {
+ if (fillGraph) {
+ this.dygraph_.warn("Can't use fillGraph option with error bars");
+ }
+
for (var i = 0; i < setCount; i++) {
var setName = setNames[i];
var color = colorScheme[i % colorCount];