#308 RenderUtilities.findLiveItems broken for NaN

open
nobody
None
5
2014-05-15
2014-05-15
Piet
No

The RenderUtilities.findLiveItems method returns faulty indices if the series contains Double.NaN as x values. In particular, datasets with DomainOrder.ASCENDING or DomainOrder.DESCDENDING do not always display all data points that are within the visible range. DomainOrder.NONE display all data points but might return a too low value for the lower bound and a too high value for the upper bound as the first Double.NaN will be interpreted as "being sinside the range".
The attached file demonstrates the issue and provides alternative implementations.

1 Attachments

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks