Hi,
I set up my xAxis (DateAxis) with a minimalZoomConstrain = DateInterval.fromMinutes(3.0). And here is my PinchZoomModifier:
val pinchZoomModifier = PinchZoomModifier().apply {
direction = Direction2D.XDirection
receiveHandledEvents = true
}
The chart works great and restricts the zoom to three minutes, but I get this error to the console whenever I zoom in to reach the minimalZoomConstrain:
E/Axis: VisibleRange was restored to its last valid value. The range class com.scichart.data.model.DateRange (Min = Tue Jan 09 01:52:40 GMT+01:00 2020, Max = Tue Jan 09 01:55:40 GMT+01:00 2020) either is not valid or it doesn't satisfy MinimalZoomConstrain or MaximumZoomConstrain. To provide fallback value please override AxisCore#coerceVisibleRange(IRange) method
How can I get rid of this error? Is there a way to tell the PinchZoomModifier that there is a min limit?
- Erika Sankari asked 4 years ago
- last active 4 years ago