[vislib/area] make stacked area behave more like overlap with a single series
This commit is contained in:
parent
04f2cd952c
commit
c7aaddc3cf
|
@ -72,10 +72,6 @@ define(function (require) {
|
|||
return yScale(0);
|
||||
}
|
||||
|
||||
if (d.y < 0) {
|
||||
return yScale(d.y0 + d.y);
|
||||
}
|
||||
|
||||
return yScale(d.y0);
|
||||
})
|
||||
.y1(function (d) {
|
||||
|
@ -83,10 +79,6 @@ define(function (require) {
|
|||
return yScale(d.y);
|
||||
}
|
||||
|
||||
if (d.y < 0) {
|
||||
return yScale(d.y0);
|
||||
}
|
||||
|
||||
return yScale(d.y0 + d.y);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue