Smart Labels for DateTime Axis
Posted: Tue Apr 03, 2012 1:32 pm
Hi,
In our application, we are assigning DateTime values to the XAxis.
When the date range spans across years, we want the labels to display only year value, like 2000, 2001, 2002, 2003 etc.,
When the date range spans across months, we want the labels like Apr, May, June, July etc.,
When the date range spans across days, we want the labels like 15 Mar, 16 Mar, 17 Mar etc.,
When the date range spans across hours, we should only get labels for time like 12:00:00, 1:00:00, 2:00:00 etc.,
By any chance, does TeeChart support this kind of labelling ?
Or is there a way this can be achieved ?
I have attached some screenshots for your reference here.
Thanks in Advance.
In our application, we are assigning DateTime values to the XAxis.
When the date range spans across years, we want the labels to display only year value, like 2000, 2001, 2002, 2003 etc.,
When the date range spans across months, we want the labels like Apr, May, June, July etc.,
When the date range spans across days, we want the labels like 15 Mar, 16 Mar, 17 Mar etc.,
When the date range spans across hours, we should only get labels for time like 12:00:00, 1:00:00, 2:00:00 etc.,
By any chance, does TeeChart support this kind of labelling ?
Or is there a way this can be achieved ?
I have attached some screenshots for your reference here.
Thanks in Advance.