datetime bottom axis

TeeChart for ActiveX, COM and ASP
Post Reply
adenin
Newbie
Newbie
Posts: 33
Joined: Mon Jun 11, 2007 12:00 am

datetime bottom axis

Post by adenin » Thu Sep 10, 2009 8:10 am

Hello,

I use teechart 7 and would like to know if there is possibility to set special appearance for datetime bottom axis:

I use range from 6:00am till 6:00am next day

and would like to have description of axis like this:
01.09.09 06:00 01.09.09 14:00 01.09.09 22:00 02.09.09 06:00

so 8 hours between each one

...I can not achieve that with setting of increment because of shifted beginning (it does not begin at 00:00am, but 06:00am)

thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: datetime bottom axis

Post by Narcís » Thu Sep 10, 2009 9:53 am

Hello adenin,

Yes, there are a few solutions I can think of:

1. Add desired datetime labels to your points when populating series.
2. Set bottom axis minimum and maximum.
3. Use custom labels as in the All Features\Axes\Labels\Custom labels example in the features demo, available at TeeChart's program group.

Depending on the nature of your chart one will be more suitable than the others.

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

adenin
Newbie
Newbie
Posts: 33
Joined: Mon Jun 11, 2007 12:00 am

Re: datetime bottom axis

Post by adenin » Thu Sep 10, 2009 11:06 am

thanks, custom labels work exactly as I wanted :)

Post Reply