Hi,
I’m using SciChart for macOS (v4.4.2.5871 installed via CocoaPods) and I’m trying to restrict the X axis’ visibleRange
as described in https://www.scichart.com/documentation/ios/current/axis-ranging—restricting-visiblerange.html but what I’m getting is the app hanging so badly that even “Pause program execution” doesn’t work (I need to “Stop the running scheme or application”).
The sample code for this issue is super basic and is attached to this ticket, but in a nutshell the lines causing issues are:
xAxis.visibleRangeChangeListener = { axis, oldRange, newRange, _ in
if newRange.minAsDouble < -10 {
axis.visibleRange = oldRange
}
}
The scenario to reproduce the problem is to pan until you hit -10 on X axis.
Let me know if I’m missing something obvious or if this is indeed an issue.
P.S. I have one more problem with setting the visibleRange
, but I will open a different ticket because the behavior is different.
- Vlad Badea asked 1 year ago
- last edited 1 year ago
- You must login to post comments
Please login first to submit.