Accepted answer

set a maximum width for the container to fix this buggy chart like here, apparently something goes wrong with large widths resulting in an error cannot read property 'r' of undefined, this seems to fix the problem:

<div id="container" style="height: 400px; min-width: 310px; max-width:1024px"></div>


indeed, it looks like a bug in 1.3.10 version (1.3.9 works fine: workaround is indeed to set max-width, but that will work only for a certain datasets (different number of points == different max width).

i have already reported this here:


Related Query

More Query from same tag