Closed xtabbas closed 7 years ago
I can confirm this for Polar Area Chart also.
@FardinKarimi I solved the issue using react-chartjs-2 which is actively maintain BUT if you want to use this version you have to use chartData as an array with PieChart DoughnutChart etc so something like this should work
var chartData = [
labels: ["Red", "Blue", "Yellow"],
datasets: [{ data: [300, 50, 100] }]
]
@touqeerkhan11 thanks so far. Using chartData didn't help, so I switched to the maintained react-chartjs-2
and it works well.
Im getting this issue
nextProps.data.forEach is not a function
only in PieChart and DoughnutChart others working just fine