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.
In a stock chart application where X values are DateTimes and Y Values are doubles
If the user zooms in to a specific date and then change stock from search text box (i.e. changing the data in a DataSeries) then data inside chart should load and that date-range should be there if there is a data on that date .
i am doing storing of last visible range inside my custom SciChartAxisBase class but some how i am not able to set this function
There are several options for you to achieve this. You could subscribe to listen to IAxis.VisibleRangeChanged event and store previous VisibleRange there, or you can extend existing/implement your own ViewportManager (take a look at this thread) and handle it there.
Also, it is probably worth to look at Zoom History implementation, where one of the customers kindly shared their code.
Please, feel free to ask if you need more assistance,
Please login first to submit.