Closed istok20 closed 6 years ago
Are you using chartjs 2.0?
no, just went back to v1, found out how to fill colors of datasets and that's ok for me:)
Is it possible to use chartjs 2.0 with react-chartjs?
is it guys?
If you want to use chart.js v2, use chartjs-v2
branch of the react-chart-js:
npm i react-chartjs@git://github.com/reactjs/react-chartjs.git#chartjs-v2
If you want to use chart.js v1, read documents of chart.js v1: https://github.com/chartjs/Chart.js/tree/v1.1.1/docs Options of chart.js is changed.
When the V2 branch will be ready ?
Hey, for everyone looking to use chartjs 2: https://github.com/gor181/react-chartjs-2 is actively maintained and works with version 2. I've switched over. It works well and should be mostly compatible (just change import statement)
Same here, I switched to react-chartjs-2 and so far I am happy. Same API and the repo is very active.
Duplicate of https://github.com/reactjs/react-chartjs/issues/84
I've closed this since it's a duplicate issue. I've also started discussion with the maintainers of react-chartjs-2 about merging that code into this repo
I've installed v1, then install v2 running this: npm i react-chartjs@git://github.com/reactjs/react-chartjs.git#chartjs-v2
now, no charts are rendered at all..
when the route with chart (that is not visible) is changed, i get
how to deploy chart v2 correctly?