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.

Console errors in bar chart: Error: <path> attribute d: Expected moveto path command ('M' or 'm'), "0"

See original GitHub issue

Description

When adding a bar chart, it triggers a bunch of errors in the console: Error: <path> attribute d: Expected moveto path command ('M' or 'm'), "0"

It looks like it’s working nonetheless, so maybe these errors can be ignored?

It doesn’t display this behavior with BillboardJS 3.0.3 (I didn’t try with another version).

Steps to check or reproduce

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
GDFabercommented, Sep 8, 2021

billboard tries to show targets with value “null” and calls a d3 transition for them, which causes the errors. I think I got it sorted out but want to do a little more testing on this.

0reactions
GDFabercommented, Oct 1, 2021

Nice, thank you @netil and @cosmo0. I’ll close this one then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

D3 Simple Line Chart: Error: <path> attribute d: Expected ...
and I keep getting this error: Error: <path> attribute d: Expected moveto path command ('M' or 'm'), "[object Object]". Your code doesn't throw ......
Read more >
Paths — SVG 2
A path is defined by including a 'path' element on which the d property specifies the path data. The path data contains the...
Read more >
Error <path> attribute d: Expected number - GSAP - GreenSock
I'm using TweenMax to animate the d attribute of a path svg and the animation it's correct. But in console I see multiple...
Read more >
[Solved]-d3.v5.min.js:2 Error: <path> attribute d: Expected ...
Coding example for the question d3.v5.min.js:2 Error: attribute d: Expected moveto path command ('M' or 'm'), "function a(a){va…"-d3.js.
Read more >
Invalid value for <path> attribute d= in Kendo UI for jQuery
Hi, i cant show any chart in my app, ive got an error: Invalid value for <path> attribute d="M5 43 L NaN 43...
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