react-gauge-chart icon indicating copy to clipboard operation
react-gauge-chart copied to clipboard

Error: <path> attribute d: Expected number, "M NaN NaN L NaN Na…

Open zolga opened this issue 6 years ago • 4 comments

Getting Error in chrome console when using the library Error: <path> attribute d: Expected number, "M NaN NaN L NaN Na… image

zolga avatar Dec 04 '19 19:12 zolga

How are you creating the chart?

Martin36 avatar Dec 05 '19 17:12 Martin36

I'm encountering something like this too. In my case, i have my percent prop set to a variable that gets calculated. When i turn animate to false, the error message still shows but only 4 times instead of hundreds.

anthony-df-nguyen avatar Feb 16 '21 05:02 anthony-df-nguyen

Same happening to me...

pedrosimao avatar Mar 09 '22 14:03 pedrosimao

Hi, you must add a conditionnal display. Maybe check first wich components do this. I had the same probleme but if you say, if (!yourParams) { return null } it should be gone.

RominM avatar Mar 22 '22 10:03 RominM