Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ScatterDraw & ScatterCtrl » [Feature request] Gap in line at NaN values (RESOLVED)
[Feature request] Gap in line at NaN values (RESOLVED) [message #51758] Thu, 16 May 2019 17:34 Go to next message
Maginor is currently offline  Maginor
Messages: 30
Registered: May 2019
Member
Hi,

Would it be possible for a series (drawn with a Stroke) to have gaps at NaN values?

This would be highly useful for an application I have now, where it has to plot measured timeseries that sometimes have gaps in the measurements.

Alternatively, is there a workaround I could do?

Sincerely,

[Updated on: Thu, 05 September 2019 11:16]

Report message to a moderator

Re: [Feature request] Gap in line at NaN values [message #51762 is a reply to message #51758] Fri, 17 May 2019 17:40 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3211
Registered: August 2008
Senior Veteran
Hi Maginor

For now, the Null value is used a as gap in the Scatter series. It summarizes the possible lack of data or the invalid numbers, like NaN and Inf.

What I advise if you take data from a raw source is to filter before saving it, detecting holes or any kind of abnormal situation, and replacing it with Nulls.


Best regards
Iñaki
Re: [Feature request] Gap in line at NaN values [message #51766 is a reply to message #51762] Mon, 20 May 2019 10:09 Go to previous messageGo to next message
Maginor is currently offline  Maginor
Messages: 30
Registered: May 2019
Member
That is awesome, thanks! I was worried that this would be much more work.
Re: [Feature request] Gap in line at NaN values [message #51769 is a reply to message #51766] Mon, 20 May 2019 19:37 Go to previous message
koldo is currently offline  koldo
Messages: 3211
Registered: August 2008
Senior Veteran
Maybe some years ago Smile . When I found your problem, I had to solve it!

Best regards
Iñaki
Previous Topic: Added Rotate()
Next Topic: [Bug] Text overflows legend box (RESOLVED)
Goto Forum:
  


Current Time: Sun Oct 25 01:30:19 CEST 2020

Total time taken to generate the page: 0.01693 seconds