react-pivottable icon indicating copy to clipboard operation
react-pivottable copied to clipboard

Error for empty pie charts

Open pcanas opened this issue 6 years ago • 2 comments

When you deselect all the values for a Pie Chart, there are two errors logged in console:

plotly.js:20656 Error: <path> attribute d: Expected number, "MNaN,NaNaNaN,NaN …"
plotly.js:20656 Error: <text> attribute transform: Expected number, "translate(NaN,NaN)translat…"

Any help will be highly appreciated.

pcanas avatar Feb 19 '19 10:02 pcanas

Is this preventing operation or is it just a console warning?

nicolaskruchten avatar Feb 23 '19 22:02 nicolaskruchten

It is just a console warning, but I think it is not nice to have it. Thank you.

pcanas avatar Feb 24 '19 15:02 pcanas