Hi,
I’m working on a chart of money markets. I need yAxis with an accuracy of 0.0001 units.
But when I reduce the visible range to less than 0.01, yAxis automatically adjusts to a very large range. I’m sending a sample in the attachment. How do I create a yAxis with steps of at least 0.001?
- Emre Gökberk asked 4 years ago
- You must login to post comments
Hi Emre,
This happens because by default axis builders set MinimalZoomConstrain = 0.01 for NumeriAxis to prevent very deep zoom. To disable it you just need to set it to 0:
yAxis.setMinimalZoomConstrain(0d);
Hope this will help you!
Best regards,
Yura
- Yura Khariton answered 4 years ago
- You must login to post comments
Hi Yura,
Yes that’s worked. Thank you!
- Emre Gökberk answered 4 years ago
- You must login to post comments
Please login first to submit.