-
Hello Andrew, I know the sample but thats not what I am looking for. The result if I use this setting is the same for both settings (see the picture - even with NoGaps there are no gaps always a line). Maybe it is because of the data in my series?. For x values I get for example: 1,2,3,4,5, 700,701,702. There is no data in between 5 and 700. Not even NaN. Just nothing. And even if there were NaN when I look at the sample there is a visual gap between the 2 points. I am rather looking for a setting like "evenlySpacedForNonExistingValues". If I want to space them apart I could deliver NaN.
-
If you want to insert a gap into a DataSeries, the only way is to add a point with X=last X and Y=double.NaN and to use the FastLineRenerableSeries.DrawNanAs property to choose 'Gaps'. This breaks the series into segments. This is the only way to do it other than overriding the rendering of FastLineRenderableSeries completely.
-
I tried to provide more information in the edit of the question. I actually don't try to get a gap but to remove the one that is visible. Is this possible?
-
Ah I understand, you want to collapse gaps in the data. What you are looking for is called a DiscontinuousDateTimeAxis https://www.scichart.com/questions/question/removing-intervals-from-datetimeaxis and no we do not support it yet as doing so will introduce many performance problems. The closest implementation is the CategoryDateTimeAxis, which is described here http://support.scichart.com/index.php?/Knowledgebase/Article/View/17190/29/categorydatetimeaxis-vs-datetimeaxis
-
I had seen that but I was hoping to find that for double series. So I have the option to see if I can switch to categoryDateTimeAxis or to override rendering of FastLineRenderableSeries? What does it imply to override the rendering. Do you have an article on that? (Sounds like heavy lifting?)
-
For what you want to do (collapse the entire chart between two points where there is no data), the only option is to use CategoryDateTimeAxis