Currently using jsx to render a pie chart. When I change the data passed into the columns prop, I get a js error in the console.
billboard.js:9310 Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys ()
at Chart.load (billboard.js:9310)
at PieChart.handleColumnsChanged (ChartBase.js:360)
at PieChart.runListeners (EventEmitter.js:463)
at PieChart.emit (EventEmitter.js:189)
I think this stems from not having a default value for the colors arg on data items
Currently using jsx to render a pie chart. When I change the data passed into the
columns
prop, I get a js error in the console.I think this stems from not having a default value for the colors arg on data items
Two data sets I am switching between.