-
Notifications
You must be signed in to change notification settings - Fork 156
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
apexcharts.common.js:6 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'group') #598
Comments
If you are using react, it was fixed in react-apexcharts@1.4.1 |
I have something similar with another property 'map': apexcharts-card: Error: Cannot read properties of undefined (reading 'map') How can I fix this ? thank, you |
It seems like this issue is still problematic. How can it be resolved? |
I am also getting the same error, in my case I am getting above error on the local as well. |
Dondrage to earlier version |
@RodolfoRdz11 I am on react-apexcharts@1.4.1, but still have the same error. |
@sai12-creator , which version are you on? I am on the latest react-apexcharts@1.4.1 and I am still getting this error. |
3.48 |
I'm using React, with the library react-apexcharts. ` useEffect(() => {
The bug was caused by the yaxis attribute (I tried removing every attribute to find out what was causing the error), then I tried set the yaxis directly without spread operator and the error no longer appeared ` useEffect(() => {
|
any solutions? |
The error on my side was with the nordpool integration but have no time yet to investigate
thanks
From: Huynh Ngoc Dinh ***@***.***>
Sent: zondag 21 juli 2024 15:40
To: apexcharts/react-apexcharts ***@***.***>
Cc: madebywitteveen ***@***.***>; Comment ***@***.***>
Subject: Re: [apexcharts/react-apexcharts] apexcharts.common.js:6 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'group') (Issue #598)
any solutions?
—
Reply to this email directly, view it on GitHub <#598 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/APEZVYVMIMIBU46JBK44VHDZNO2ZZAVCNFSM6AAAAABGZGFXXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGYYTKMJUGY> .
You are receiving this because you commented. <https://github.com/notifications/beacon/APEZVYQDQDJNXOA3EE4D3BLZNO2ZZA5CNFSM6AAAAABGZGFXXWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFTRKSU.gif> Message ID: ***@***.*** ***@***.***> >
|
The same error here. Any solution? |
Nope, no solution yet. Thanks
…________________________________
From: Pedro Eckel ***@***.***>
Sent: Thursday, August 1, 2024 17:19
To: apexcharts/react-apexcharts
Cc: madebywitteveen; Comment
Subject: Re: [apexcharts/react-apexcharts] apexcharts.common.js:6 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'group') (Issue #598)
The same error here. Any solution?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
I have a similar issue using react and apexcharts, I solved it using cloneDeep from lodash to pass the series array:
|
Thanks 👍
…________________________________
From: Jack Sacali ***@***.***>
Sent: Tuesday, August 6, 2024 13:57
To: apexcharts/react-apexcharts
Cc: madebywitteveen; Comment
Subject: Re: [apexcharts/react-apexcharts] apexcharts.common.js:6 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'group') (Issue #598)
I have a similar issue using react and apexcharts, I solved it using cloneDeep from lodash to pass the series array:
const chartOptions: ApexOptions = {
series: cloneDeep(series),
...otherOptions,
};
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
I'm having this issue too. It doesn't prevent charts from rendering but it does seem to slow down that rendering quite a lot, which isn't great. |
one solution that worked for me is, add check on your component's top. check if data is undefined.
u can then may be memoize the component or parent according data change or how u want to render the component. |
Hello, I had a similar error with angular: node_modules_apexcharts_dist_apexcharts_common_js.js:2 TypeError: Cannot read properties of null (reading 'hidden') |
Ok thanks a lot 😄
…________________________________
From: leocharrua ***@***.***>
Sent: Tuesday, October 29, 2024 21:12
To: apexcharts/react-apexcharts
Cc: madebywitteveen; Comment
Subject: Re: [apexcharts/react-apexcharts] apexcharts.common.js:6 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'group') (Issue #598)
Hello, I had a similar error with angular:
node_modules_apexcharts_dist_apexcharts_common_js.js:2 TypeError: Cannot read properties of null (reading 'hidden')
at apexcharts.common.js:14:37898
at Array.forEach ()
at t.value (apexcharts.common.js:14:37873)
at t.create (apexcharts.common.js:6:4908)
at apexcharts.common.js:14:37096
at new ZoneAwarePromise (zone.js:2702:25)
at t.value (apexcharts.common.js:14:21791)
at ng-apexcharts.mjs:113:74
at _ZoneDelegate.invoke (zone.js:369:28)
at ZoneImpl.run (zone.js:111:43)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
hi everyone im getting very complex error actually in localhost react-apexchart working fine not giving any errors in console but coming to dev portal above error is throwing only in dev portal local is working fine
apexcharts.common.js:6 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'group')
at apexcharts.common.js:6:166282
at Array.forEach ()
at apexcharts.common.js:6:166243
at Array.forEach ()
at t.value (apexcharts.common.js:6:166209)
at t.value (apexcharts.common.js:6:172254)
at t.value (apexcharts.common.js:6:168242)
at t.value (apexcharts.common.js:6:417928)
at t.value (apexcharts.common.js:14:37913)
at t.create (apexcharts.common.js:6:4486)
The text was updated successfully, but these errors were encountered: