Pre loader

1

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

All Answers » Re: VisibleRange was restored to its last valid value. » Comments for "Re: VisibleRange was restored to its last valid value."
  • Iliya Mashin
    In debug coerceVisibleRange method shows NaN and NaN values for a range
  • Yura Khariton
    That’s strange. Can you provide a full project that reproduces this issue so we can debug on our side?
  • Iliya Mashin
    Unfortunately I can’t. It’s a big commercial project. The code snippet that I’ve provided is reached once when I get all points with the last index
  • Iliya Mashin
    I used 0 for minimalZoomConstraint and Int.MAX_VALUE for maximumZoomConstraint but it doesn’t work.
  • Iliya Mashin
    It started happening when I had added new time frames. It means intervals between point have changed (I use category date axis). I don’t know how fix it. But the problem is clear
  • Yura Khariton
    Well without code that reproduces this issue there is not much that we can do to help you. Without code to debug we can’t identify the cause of this issue and as result we can’t fix it. I tried to reproduce this issue in one of our examples, but without success. Also I don’t remember that this issue was reported before by other users. So it is probably caused by some edge case which we haven’t encountered yet. Maybe you can try to reproduce it somehow in our demo application or in some small project which contains only part related to usage of SciChart?
  • Iliya Mashin
    I could fix it. Changing AutoRange.Always to AutoRange.None for the x axis helped me

Try SciChart Today

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

Start TrialCase Studies