Closed suraj closed 7 years ago
@suraj I think you forgot some changes in core.js. I am not using chart.scale and get exceptions when going though the line while (chart.scale.xLabels.length > nextProps.data.labels.length) {
at updatePoints (core.js:132)
at Object.classData.componentWillReceiveProps (core.js:48)
I am trying to update a bar chart with new data in that case.
this should be PRed against the chartjs-v2 branch. Sorry for the confusion. I can add a note to the README.
Primarily, the way Chart object is created( in core.js) has changed. Added few new methods introduced in V2.