-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-chartjs-2 v3.0.5 not recognizing the "cutout" property inside the config options for Doughnut chart #741
Comments
georgewfsantos
changed the title
Hello,
react-chartjs-2 v3.0.5 not recognizing the "cutout" property inside the config options for Doughnut chart
Sep 28, 2021
The |
@georgewfsantos Hi. Can you try react-chartjs-2@v3.1.1? Is this issue still there? |
@dangreen Hi. We need to take some time to test with that version. As soon as we do that, I'll let you know. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
We are having an issue in our React application where cutout is not recognized as part of the config options for the Doughnut chart. The problem happened after the lib was upgraded to version 3.0.5 and we're using chart.js v3.5.1. We've tried a lot of things but the problem seems to be type related, since after adding " as any " to the config object inside the options prop, the problem disappears. I'm also attaching some screenshots below showing the error and that it disappears after typying the object as "any".Thank you in advance.
The code is as follows:
The text was updated successfully, but these errors were encountered: