Hello,
I want to divide a day into three equal time periods to represent three shifts per day, that is, an increment of “dtEightHours”. There is a dtSixHours and a dtTwelveHours, but an eight hour interval is not available.
I tried a guess using Graph.Axes.Bottom.Increment := EncodeTime(8,0,0); but that does not work (“Not enough actual parameters”).
How can I setup a time interval of 8 hours or alternatively divide the day into three parts?
Thanks,
Dave.
Dividing a day into 8 hours/three time periods
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Dave,
Yes, you can divide one day per 3 like this:
Or multiply one hour increment 8 times:
Yes, you can divide one day per 3 like this:
Code: Select all
Chart1.Axes.Bottom.Increment:=DateTimeStep[dtOneDay]/3;
Code: Select all
Chart1.Axes.Bottom.Increment:=DateTimeStep[dtOneHour]*8;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |