leaflet.minichart icon indicating copy to clipboard operation
leaflet.minichart copied to clipboard

Error when values go to zero (polar area)

Open Shane98c opened this issue 7 years ago • 4 comments

v0.2.2 on Leaflet v1.0.3

When all values go to zero in a polar area chart, I'm getting an error and odd animation behavior when changing values back to >0 (labels show and change size, but no area slices are shown.)

This is the error:

leaflet.minichart.min.js:4 Error: <g> attribute transform: Expected number, "translate(NaN,NaN)".

image

Thanks again for making this available!

Shane98c avatar May 02 '17 15:05 Shane98c