Hello,
i have a chart with Xaxis as datetimeaxis and several Yaxes, when ZoomExtentsModifier is used, some YAxes disappear This problem can be solved with HighPrecisionNumericAxis, but the performance suffers
Version: v6.1.0 Build: 13075
- Son Vu asked 4 years ago
- You must login to post comments
Hi Son Vu
The problem is the precision on the axis. It is related to this issue here: https://www.scichart.com/questions/wpf/axis-label-disappears-when-zoom-too-much
Unfortunately, SciChart is only able to zoom until the X or Y Axis VisibleRange Max-Min is approximately 1E-12.
This is because all calculations within SciChart are done using 64-bit Double precision variables, and the limit of precision for Double in C# .NET is 15-16 decimal places. We need some precision to do the calculations so we have found that SciChart is usually stable up to VisibleRange Max-Min = 1E-12 but not smaller than that.
In SciChart v5.4.1.12135 or above, we now have a new feature which allows very high precision axis when values are very small. Try apply this code to your axis
numericAxis.TickProvider = new HighPrecisionNumericTickProvider();
This has been tested and can be used to zoom many orders of magnitude smaller than 1E-12 on the NumericAxis.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 4 years ago
- You must login to post comments
Please login first to submit.