Console errors in bar chart: Error: <path> attribute d: Expected moveto path command ('M' or 'm'), "0"
See original GitHub issueDescription
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
- open the devtools console
- open https://jsfiddle.net/cosmo0/m2wxzLfv/4/
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:9 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Nice, thank you @netil and @cosmo0. I’ll close this one then.