projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug 415. Series must be specicied by name in the options object.
[dygraphs.git]
/
tests
/
fillGraph.html
diff --git
a/tests/fillGraph.html
b/tests/fillGraph.html
index
9e2a22f
..
0188dc4
100644
(file)
--- a/
tests/fillGraph.html
+++ b/
tests/fillGraph.html
@@
-20,7
+20,7
@@
<p>Filled, negatives:</p>
<div id="div_g2" style="width:600px; height:300px;"></div>
<p>Filled, negatives:</p>
<div id="div_g2" style="width:600px; height:300px;"></div>
- <p>Filled
, error bar
s:</p>
+ <p>Filled
on a per-series basi
s:</p>
<div id="div_g3" style="width:600px; height:300px;"></div>
<script type="text/javascript">
<div id="div_g3" style="width:600px; height:300px;"></div>
<script type="text/javascript">
@@
-54,14
+54,12
@@
function() {
var ret = "X,Y1,Y2\n";
for (var i = 0; i < 100; i++) {
function() {
var ret = "X,Y1,Y2\n";
for (var i = 0; i < 100; i++) {
- ret += i + "," + i + ",10," +
- (i * (100-i) * 100/(50*50)) + ",5\n";
+ ret += i + "," + i + "," + (i * (100-i) * 100/(50*50)) + "\n";
}
return ret;
},
{
}
return ret;
},
{
- errorBars: true,
- fillGraph: true
+ Y1: { fillGraph: true }
}
);
</script>
}
);
</script>