Incorrect date time in Y axis.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
awiklund
Newbie
Newbie
Posts: 1
Joined: Sat Jul 05, 2003 4:00 am

Incorrect date time in Y axis.

Post by awiklund » Tue Oct 26, 2004 1:42 pm

I am having this code in my aplication:
bar3d.YValues.DateTime = true;
double d = 0.5;
bar3d.Add(d, endTime, startTime, myText, Color.Red);

Where startTime and endTime is time represented as double. When this is plotted in the chart I only get the clock, (e.g, 4:00 PM) not the whole date. Is there something I can do about it? I want full date time on the Y axis.

Thanks.
awiklund

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Oct 26, 2004 2:45 pm

Hi,

you can set the format of the DateTime label using :
tChart1.Axes.Left.Labels.DateTimeFormat="dd/MM hh:mm";

Post Reply