DateTime axis, feature or bug...

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
nikitenko@dataart.com
Newbie
Newbie
Posts: 21
Joined: Mon Mar 27, 2006 12:00 am

DateTime axis, feature or bug...

Post by nikitenko@dataart.com » Mon Jul 03, 2006 11:32 am

Hello All,

I have some difficulties with labelling axis which represent Date, namely

1) I worked with bar serier
2)

bar1.Add(DateTime.Parse("01.02.2006"), 5, "bar 1");
bar1.Add(DateTime.Parse("01.03.2006"), 15, "bar 2");
bar1.Add(DateTime.Parse("01.04.2006"), 25, "bar 3");
bar1.Add(DateTime.Parse("01.05.2006"), 35, "bar 4");

tChart1.Axes.Bottom.Labels.Style = AxisLabelStyle.Value;

3) After that I started changing the width of chart and date 01.05.2006 went under the right side.

But could I fasten last date from range to the right side of chart?

Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jul 03, 2006 1:16 pm

Hello,

This happens when the labels don't have enough space to be drawn. You can try solving this by using custom labels as shown in the All Features\Welcome !\Axes\Labels\Custom labels example at TeeChart features demo, available at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply