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’m building a real-time chart using a FastLineRenderableSeries. I’m using the AutoRange feature with a large FifoCapacity that takes about 30 seconds in my app to start scrolling. During that initial loading time the chart stretches and makes it hard to read.
Is there a way to have the chart’s AutoRange make the visible range default to the Fifo size? That would make the chart fixed while the line draws across the chart. Once the data passes the Fifo size, it starts scrolling.
I’ve solved this by data binding the VisibleXRange and managing that myself, but it makes the scrolling very choppy and laggy. Am I missing something in the API or is there a better way to get the behavior I’m looking for?
Thanks in advance,
Here’s a video of the behavior that I don’t want:
Unfortunately, there isn’t a built-in way to make the visible range default to the Fifo size, because a series can’t predict which data you will append to it later. What I would suggest, is setting the visible range to the desired range manually(and AutoRange to Never), and switching it as soon as all data points are loaded.
Could it be implemented in this way?
Please, take a look at our Logarithmic Axis example, where axes switching is demonstrated and an axis binding is used for that purpose.
Also you could try binding the AutoRange property only, probably it will help.
Please, let us know if you managed to do this or whether you need more assistance with it.
Please login first to submit.