DateTime Labels on Bottom Axis
Posted: Mon Oct 06, 2008 8:49 pm
Hi,
I have a series with with Datetime data on X-Axis. I am currently displaying X-axis labels in Datetime format at 90 degree angle. It works fine.
But, I want to display the Date part of the date time when
1) only at first and last label being displayed on the axis and
2) when the date changes in the timescale
Forexample, If my series data is for a period between 9/05/08 0:00 and 09/07/08 10:00, then my labels on x-axis should be
09/05/08 0:00 as the first one, followed by only Time labels like "4:00 8:00 12:00 ......etc", then 09/06/08 0:00 (becasue date has changed) followed by "4:00 8:00 12:00 ......etc" and then 09/07/08 0:00 and "4:00 8:00 " and the last one should be 09/07/08 10:00
Is there any auto property setting for TeeChart to acheive this or what is the best possible solution.
This will help reduce the overcrowding of labels on X-axis.
Any help would be appreciated.
Thank you
Kalyan
I have a series with with Datetime data on X-Axis. I am currently displaying X-axis labels in Datetime format at 90 degree angle. It works fine.
But, I want to display the Date part of the date time when
1) only at first and last label being displayed on the axis and
2) when the date changes in the timescale
Forexample, If my series data is for a period between 9/05/08 0:00 and 09/07/08 10:00, then my labels on x-axis should be
09/05/08 0:00 as the first one, followed by only Time labels like "4:00 8:00 12:00 ......etc", then 09/06/08 0:00 (becasue date has changed) followed by "4:00 8:00 12:00 ......etc" and then 09/07/08 0:00 and "4:00 8:00 " and the last one should be 09/07/08 10:00
Is there any auto property setting for TeeChart to acheive this or what is the best possible solution.
This will help reduce the overcrowding of labels on X-axis.
Any help would be appreciated.
Thank you
Kalyan