Pre loader

Setting VisibleRange when changing TimeScale in a Stock chart

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


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

any help?

  • You must to post comments

Hi Swati,

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,

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies