The error message is re-created in this demo:
http://plnkr.co/edit/6Tok16U287sKHQpsRAmX?p=preview
var chart = c3.generate({
data: {
"columns": [["B1", 1], ["B2", 2]],
"type": "donut",
onclick: onClick,
},
donut: { "title": "Iris Petal Width" }
});
function onClick(){
chart.load({
columns: [['A_B1', 1], ['B_B1', 2]],
unload: ['B1', 'B2']
});
}
The documentation for the function is here:
http://c3js.org/reference.html#api-load
Do you think I'm using this wrong or that it's a bug in the library?
--Reponse to comment--
Error also occurs in a fiddle when a section of the donut is clicked.
If you watch the transition animation closely you can see it hesitate when rendering different sections of the donut. These errors occur after the rendering.