$.plot($('#graph'), [ {data:d1, id:'foo'}, {data:d2,id:'bar',fillBetween:'foo'}, {data:d3,id:'baz',fillBetween:'bar'} ], { series: { stack: true, lines: { show: lines, fill: true, steps: steps } } });
Works well for me. Just make sure you include stack plugins and fillBetween (in that order).
source share