Hi.
This problem might have been covered before, if so I appolagise for asking again, but I don't have the time to search properly. My boss is flying to europe the day after tommorow, and our prototype needs to be finished by then.
Here's my problem:
Basically I have an integer variable. This variable holds a total seconds.
In other words it could have for example 14000 seconds.
How do I get TeeChart to display this as hh:mm:ss, I have tried numerous things without any success.
Any help would be of great value to me.
Thank you.
Help with datetime axis labels, EXTREMELY URGENT.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Klesk,
I'm afraid Microsoft's .NET Framework doesn't have any built-in method for that nor has TeeChart. So you'll have to implement your own method class for that.
However, if you are retrieving your values from an SQL database it may help using what's told in the URL below.
http://www.knowdotnet.com/articles/hoursminseconds.html
To display DateTime values in TeeChart I strongly suggest you to read Tutorial 4 - Axis Control. You'll find the tutorials at TeeChart's program group.
I'm afraid Microsoft's .NET Framework doesn't have any built-in method for that nor has TeeChart. So you'll have to implement your own method class for that.
However, if you are retrieving your values from an SQL database it may help using what's told in the URL below.
http://www.knowdotnet.com/articles/hoursminseconds.html
To display DateTime values in TeeChart I strongly suggest you to read Tutorial 4 - Axis Control. You'll find the tutorials at TeeChart's program group.
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 |