Closed gsklee closed 9 years ago
This seems to be an issue in relation to React. I'm not a React user and therefore can't debug currently. If someone with react experience is able to debug this issue I'd be very happy. Most likely it's related to React rendering the DOM offscreen where Chartist is not able to get available dimensions. Once we know that this is the problem, we could add some fallback solutions if Chartist does not know the dimensions.
This is most likely a duplicate of #193 so I'm closing this issue.
I'm getting this error seemingly out of random; it may or may not appear while rendering the same data, and even if it does appear, there are about 50% of chance that everything will look and work like normal. For the other 50% unlucky times weird glitches will happen, for example, bars having
NaN
as theirct:value
and being rendered as infinite negative values.