question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when updating series while slice is selected - donut chart

See original GitHub issue

Bug report

Codepen

https://codepen.io/cvakodobro/pen/poNpQNX

To replicate the error just select slice and click randomize button. You will see an error in the console log.

Explanation

  • What is the behavior you expect?

No error when updating series while slice is selected.

  • What is happening instead?

An error is thrown every time you update the series while a slice is selected. I’m experiencing this issue using vue-apexchart but I’ve noticed that the same issue happens with JS apexchart.

  • What error message are you getting?

Error: <path> attribute d: Expected moveto path command ('M' or 'm'), "null".

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Sabih-KLcommented, Nov 24, 2022

If anyone using next js, adding swcMinify: false in next.config.js makes it work.

Ref: chartjs/Chart.js#10673

thanks!

1reaction
karthickprasathmbcommented, Nov 24, 2022

If anyone using next js, adding swcMinify: false in next.config.js makes it work.

Ref: https://github.com/chartjs/Chart.js/issues/10673

Read more comments on GitHub >

github_iconTop Results From Across the Web

Present your data in a doughnut chart - Microsoft Support
On the Format tab, in the Current Selection group, click Format Selection. Click Series Options, and then under Doughnut Hole Size, drag the...
Read more >
A Complete Guide to Pie Charts | Tutorial by Chartio
A pie chart shows how a total amount is divided between levels of a categorical variable as a circle divided into radial slices....
Read more >
Pie / Donut Chart Guide & Documentation - ApexCharts.js
Read the documentation on how to create interactive JavaScript Pie Charts / Donut Charts with examples built using ApexCharts.
Read more >
Progress Circle Chart in Excel as NEVER seen before!
Just like the other progress circle charts it uses the doughnut chart as the basis. A text box is placed in the middle...
Read more >
Conditional Donut Chart - Peltier Tech
What it means is, if you have customized your plotted data, then change the data so the reformatted feature (chart series or data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found