It looks like #2329 regressed the default behavior shown in the area mark documentation. It’s supposed to look like this:
Plot.plot({
marks: [
Plot.areaY(industries, {x: "date", y2: "unemployed", z: "industry", fillOpacity: 0.1}),
Plot.lineY(industries, {x: "date", y: "unemployed", z: "industry", strokeWidth: 1})
]
})
But it currently looks like this:
Even setting the fill explicitly doesn’t fix the issue! But setting y1: 0 does fix the issue, so it’s probably an unintentional change in the default for y1. We should add a test for this, naturally.
It looks like #2329 regressed the default behavior shown in the area mark documentation. It’s supposed to look like this:
But it currently looks like this:
Even setting the fill explicitly doesn’t fix the issue! But setting
y1: 0does fix the issue, so it’s probably an unintentional change in the default for y1. We should add a test for this, naturally.