[Chartjs]-React-chartjs options doesn't take effect

0👍

The react-chartjs does not support Chart.js V2.

Please refer the documentation of Chart.js v1.1.1. (https://github.com/chartjs/Chart.js/tree/v1.1.1/docs)

If you want to use Chart.js V2, please try chartjs-v2 branch.

npm i react-chartjs@git://github.com/reactjs/react-chartjs.git#chartjs-v2

For more information go to https://github.com/reactjs/react-chartjs/issues/134#issuecomment-233499768

Leave a comment