Closed tquetano-r7 closed 8 years ago
Quick update ... I've "fixed" the problem by only rendering the chart if there is data. It appears that when an empty data array is passed it blows up, so I have a simple if / else in the render to just show a default. While this works now, I feel like there should be something that exits without error.
Having issue with Pie charts. I'm passing in data with a basic format:
And calling it as such:
And get the error "cannot assign value on undefined" on:
I've checked, the segmentIndex is correctly showing as 0. Is there something I'm missing?