Replies: 3 comments
-
What version are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Latest version, without a wrapper: https://codesandbox.io/s/blissful-dew-9thw4?file=/src/App.js I think you'll need to take this to the react-chartjs-2 repository. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I just hit this, only when running tests with jest. version ^2.3.0 on chartjs ^4.4.0. EDIT: I fixed this by writing the following to
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my react file:
When attempting to register the TreemapController and TreemapElement in the 'react-chartjs-2' package, it leads to :
TypeError: Cannot read properties of undefined (reading 'prototype')
I don't have any issues registering the built in controllers/elements from 'chart.js'
Has anyone else encountered this issue?
Beta Was this translation helpful? Give feedback.
All reactions