Page 1 of 1

datetime bottom axis

Posted: Thu Sep 10, 2009 8:10 am
by 9535493
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

Re: datetime bottom axis

Posted: Thu Sep 10, 2009 9:53 am
by narcis
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!

Re: datetime bottom axis

Posted: Thu Sep 10, 2009 11:06 am
by 9535493
thanks, custom labels work exactly as I wanted :)