Hi there,
using tChart for .Net for a winCe Pocket-framework application I use the bottom-axis as a datetime-axis when I zoom in the series an the timesteps turn from days to hours the pm - times are displayed as 06:00 and 12:00. (not as expected 18:00 and 00:00 )
What's my mistake?
I did it like this:
...
aXAxis.Increment = Utils.DateTimeStep[(int)DateTimeSteps(TwoHours)];
aXAxis.Labels.DateTimeFormat = "hh:mm";
...
Thanks for help.
Helmut
Problem with datetime-axis, days have just 12 hrs ?!
-
- Newbie
- Posts: 7
- Joined: Mon Nov 06, 2006 12:00 am
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Helmut,
Instead of:
Try using:
That way I obtain labels as you request.
Instead of:
Code: Select all
aXAxis.Labels.DateTimeFormat = "hh:mm";
Code: Select all
aXAxis.Labels.DateTimeFormat = "HH:MM";
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 |
-
- Newbie
- Posts: 7
- Joined: Mon Nov 06, 2006 12:00 am
- Contact:
Problem with datetime-axis, days have just 12 hrs ?!
Thank you for your quick help.
Helmut
Helmut