It is currently Mon Apr 21, 2014 2:12 pm Advanced search

[BUG] Infinite loop caused by Large X values

Technical support, bug reports and more.

[BUG] Infinite loop caused by Large X values

Postby etoljeff » Fri Feb 24, 2012 6:54 am

I'm trying to create a scatter plot, but am plagued by js hangs. Created two JSFiddles to illustrate: when the range is -24 to 65465, the browser hangs (http://jsfiddle.net/RVNnP/669/). If I delete the series with the large x values (http://jsfiddle.net/RVNnP/671/), the chart renders.

I've sorted the x values and made sure there are no duplicates, the DIV is not hidden, I'm using Safari 5 and Firefox 9 on Mac to reproduce this issue. Can anyone help?

Thanks.
etoljeff
 
Posts: 2
Joined: Fri Feb 24, 2012 6:39 am

Re: [BUG] Infinite loop caused by Large X values

Postby Fusher » Mon Feb 27, 2012 1:03 pm

You are trying to draw points in one axis from 0 to ~66000 and draw all datalabels - remove some data from this serie and you will see. When you have port numbers isn't better idea to use categories ? This way for example: http://jsfiddle.net/Fusher/jyGnx/
Paweł Fus
Highcharts support team
Fusher
 
Posts: 5224
Joined: Mon Jan 30, 2012 12:16 pm

Re: [BUG] Infinite loop caused by Large X values

Postby etoljeff » Wed Feb 29, 2012 4:20 am

Thanks Fusher - will take a closer look. Don't grok what I'm doing wrong yet, but your explanation sounds pretty clear so I guess I eventually will!
etoljeff
 
Posts: 2
Joined: Fri Feb 24, 2012 6:39 am


Return to Highcharts Usage

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 10 guests