c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.35k stars 1.39k forks source link

Series bar stops stacking after no entry for that series #2616

Open dayvidwhy opened 5 years ago

dayvidwhy commented 5 years ago

C3 version: 0.6.14 (also happens with 0.7) D3 version: v5 Browser: Chrome 74 OS: MacOS

https://jsfiddle.net/dayvidwhy/prq1z0wd/1/

Red series 'o7' stops stacking after there is no value for that date.

If you put in a value for that date it goes back to stacking as intended for the last bar.

https://jsfiddle.net/dayvidwhy/hsp0yx67/1/

Is this the intended behaviour?

panthony commented 5 years ago

Probably related to #1993 somehow