[vislib/area] make stacked area behave more like overlap with a single series

This commit is contained in:
Spencer Alger 2015-02-05 12:53:33 -07:00
parent 04f2cd952c
commit c7aaddc3cf

View file

@ -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);
});