SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
I am using XyDataSeries<double, double> and when the chart receives data it can happen that the user stops accepting data and wants to resume recording data at a later point. Just like a doctor taking a EEG. He starts the printout and then stops. Tells the patient to do something and resumes the printout. Then he sees the 2 recordings side by side. Separated by a vertical line – no gaps. Thats what I want to achieve. But currently my chart looks like this.
What do I have to set to get the desired result? (Ignore missing values inbetween if all series don’t have data.
I was also already making an annotation which worked until I included the stop in appending. Now I don’t see the annotation any more but my real problem is that I want to have no gap. The drawing of the lines should resume at the point where it stopped before.
I tried unsorteddata but no change. And I was looking for an unevenlySpaced property but there was none to my series.
I added a picture put together from the first with how I would like to have it look from the same data. I would like to have no gaps in between the 2 data points.
See comments to Andrews answer. The answer for my use case seems to be:
Use CategoryDateTimeAxis if possible.
Please see this prevous question which covers rendering gaps in line series.
Please login first to submit.