SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

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

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
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
Showing 2 results
Your Answer

Please first to submit.