Skip to content
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

Uncaught TypeError: Cannot read properties of undefined (reading 'toString') #4683

Closed
mdansari20101 opened this issue Sep 3, 2024 · 4 comments · Fixed by TanDuy03/ntanduy-cloud#202 · 4 remaining pull requests
Closed

Uncaught TypeError: Cannot read properties of undefined (reading 'toString') #4683

mdansari20101 opened this issue Sep 3, 2024 · 4 comments · Fixed by TanDuy03/ntanduy-cloud#202 · 4 remaining pull requests

Comments

@mdansari20101
Copy link

Error when hovering over legends in Donut/Pie chart - "Uncaught TypeError: Cannot read properties of undefined (reading 'toString')"

There seems to be a bug in the Donut/Pie chart of ApexCharts. When hovering over the legend section, the following error is thrown:

"Uncaught TypeError: Cannot read properties of undefined (reading 'toString')"

This issue started occurring after a recent release. It was working perfectly before.

Steps to Reproduce:

  • Create a Donut/Pie chart using ApexCharts.
  • Hover over the legend section.
  • Observe the error in the console.
  • Expected Behavior: The chart should function without throwing errors when interacting with the legend.

Actual Behavior: Hovering over the legend results in the following error:

"Uncaught TypeError: Cannot read properties of undefined (reading 'toString')"

Additional Information:

This issue also occurs on the ApexCharts documentation example for the Donut chart.

Attached is a screenshot of the error for reference.
Screenshot 2024-09-03 211456

@mdansari20101
Copy link
Author

@brianlagunas , I am still encountering this issue. Was it resolved in the current release (3.53.0), or will it be addressed in an upcoming update?

@junedchhipa
Copy link
Contributor

It will be shipped with the next release.

@mdansari20101
Copy link
Author

@junedchhipa , When we are releasing the new version?

@eviltik
Copy link

eviltik commented Sep 30, 2024

fix available in the latest version 3.54.0, thx !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment