apexcharts / apexcharts.js

📊 Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.05k stars 1.28k forks source link

apexcharts.common.js:6 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'group') #4434

Closed sai12-creator closed 2 months ago

sai12-creator commented 2 months ago

Not done any code change since 5 months now getting blank page by this error in localhost working fine but dev portal issue coming 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)

Nagu96 commented 2 months ago

I too faced the same issue. Its working fine in local, not working in dev portal. I am using "apexcharts": "3.35.3". May I know the version of yours?

sai12-creator commented 2 months ago

I too faced the same issue. Its working fine in local, not working in dev portal. I am using "apexcharts": "3.35.3". May I know the version of yours?

Yes in local it's showing old version and dev showing new 3.49 version so it's a bug in new version

brianlagunas commented 2 months ago

Did not follow bug template instructions. There is no actionable information in this bug report and the required repro app was not provided.

sai12-creator commented 2 months ago

Did not follow bug template instructions. There is no actionable information in this bug report and the required repro app was not provided.

pls dont close apexcharts.common.js:6 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'group') at apexcharts.common.js:6:1 pls dont close this bug new version is giving this error if i pass single object in series like series: [{name: 'values', data: [12,3,4,5,6,9]}] and react version is 18.2 reactdom 18.2 react-apexchart: 1.4.1 apexchart: 3.49 npm: 9.5.7 if i pass multiple objects to series then chart is working only single line chart not coming due to single object. series: [{name: 'values1', data: [12,3,4,5,6,9]}, {name: 'values2', data: [12,3,4,5,6,9]}, {name: 'values3', data: [12,3,4,5,6,9]}] its working

sai12-creator commented 2 months ago

I too faced the same issue. Its working fine in local, not working in dev portal. I am using "apexcharts": "3.35.3". May I know the version of yours?

is it fixed? 6302578568

Nagu96 commented 2 months ago

6302578568 Nope. Did u find the rootcause?

sai12-creator commented 2 months ago

6302578568 Nope. Did u find the rootcause?

Yes bro cal me i will tell you fix

Nagu96 commented 2 months ago

6302578568 Nope. Did u find the rootcause?

Yes bro cal me i will tell you fix

Can you pls share me your mail id?

sai12-creator commented 2 months ago

6302578568 Nope. Did u find the rootcause?

Yes bro cal me i will tell you fix

Can you pls share me your mail id?

Bro if single chart it's breaking with new version downgrade to 3.48 in package.json it will work

Nagu96 commented 2 months ago

6302578568 Nope. Did u find the rootcause?

Yes bro cal me i will tell you fix

Can you pls share me your mail id?

Bro if single chart it's breaking with new version downgrade to 3.48 in package.json it will work

OK bro will check

seniordev-ca commented 1 week ago

Getting same error with 3.48 @sai12-creator

sai12-creator commented 1 week ago

Not sure it's fixed in 3.48 is it single chart issue in single line chart only check package.json remove ^ symbol

Nagu96 commented 1 week ago

Not sure it's fixed in 3.48 is it single chart issue in single line chart only check package.json remove ^ symbol

Yes that is not fixed.I used apexcharts instead of ng-apexcharts