Pre loader

How to fix error (VisibleRange was restored to its last valid value)

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

0
0

This is stackTrace:
E/Axis: VisibleRange was restored to its last valid value. The range class com.scichart.data.model.DoubleRange (Min = 27748.0, Max = 32248.0) either is not valid or it doesn’t satisfy MinimalZoomConstrain or MaximumZoomConstrain. To provide fallback value please override AxisCore#coerceVisibleRange(IRange) method

Version
3.0.0.4253
  • You must to post comments
0
0

Hi Abolfazl Ghanbari,

This error occurs when for some reasons axis VisibleRange is set to invalid value (e.g. invalid type or range that isn’t supported by axis, zero range when Min = Max or when VisibleRange value doesn’t satisfy axis restrictions). To fix it you need to find where and why this invalid value was set, so I would suggest to check your code ( maybe you set some restriction on axis which isn’t satisfied by range with (Min = 27748.0, Max = 32248.0).

Best regards,
Yura

  • abolfazl ghanbari
    I set the minimalzoom and maximum zoom but gives the same error again. xAxis.setMinimalZoomConstrain(0d); xAxis.setMaximumZoomConstrain( 10*visibleInterval);
  • You must to post comments
0
0

I set the minimalzoom and maximum zoom but gives the same error again.
xAxis.setMinimalZoomConstrain(0d);
xAxis.setMaximumZoomConstrain( 10*visibleInterval);

  • Yura Khariton
    Can you provide a code which reproduce this issue? Without seeing the code it’s hard to tell why this error occurs.
  • You must to post comments
Showing 2 results
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