Page 1 of 1

DateTime Axis Formatting

Posted: Sun Nov 05, 2006 11:40 pm
by 9343745
I have run into a small possible bug.
If I set the DateTime Format for 'nn:ss.zz' if the first value of the fraction of a second is less than 1, the label on the axis is incorrect
example: value 1:12.264 will display 01:12.26
if the value would be 1:12.064 it will display as 01:12.64

If I set the format to 'nn:ss.zzz' I get for
1:12.264 01:12.264
1:12.064 01:12.264

By extending the formatting string I get the correct values. I was trying to
reduce the length of the label on the axis, for cases where I need to add hours.

Posted: Mon Nov 06, 2006 3:21 pm
by narcis
Hi madup,

I could reproduce the problem here and added it to our defect list (TV52011872) to be fixed for future releases. In the meantime, you could try solving this problem in the OnGetAxisLabel event, manually modifying LabelText parameter.