I have a graph of daily harvest totals. So I have set the x-values to datetime and the display mask to "dd-mmm".
However, when the user zooms in, I end up with several ticks and labels on the x-axis for the same day.
As the data can be sparse, (i.e. daily totals can often be zero near the beginning and end of the season), these spurious ticks and labels could confuse the user.
How to constrain datetime zooming
Hi ChrisR,
I think you need to change your bottom axis increment like this:
I think you need to change your bottom axis increment like this:
Code: Select all
Chart1.Axes.Bottom.Increment := DateTimeStep[dtOneDay];
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |