You can't pass empty data to stacked bars
Timopheym opened this issue · comments
Timophey Molchanov commented
Is it by Design? I can pass empty data to any type of chart, but when i try it with stacked i got d3 error.
Bin: http://jsbin.com/topeqiva/15/
Mark Daggett commented
I think this "kind of" makes sense because we are trying to create a nest around an empty array and therefore nothing to stack. I think we can rescue for this in a little more elegant fashion though. It probably needs to be handled in the stacked parser.