Setting distance of datetime axis labels

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
glikoz
Newbie
Newbie
Posts: 34
Joined: Mon May 05, 2003 4:00 am

Setting distance of datetime axis labels

Post by glikoz » Tue Nov 01, 2005 11:57 am

I'm looking for some ideas or suggestions about Tchart graphic grid for datetime values.
Our date parameters are ;

Code: Select all

BeginingDate="31/12/2004"
LastDate="30/10/2005"
And my related code on below;

Code: Select all

this.Axes.Bottom.Visible = true;
this.Axes.Bottom.Labels.Style = Steema.TeeChart.AxisLabelStyle.Value;
this.Axes.Bottom.Labels.DateTimeFormat = "d/MMM/yy";
this.Axes.Bottom.Increment=35;
Image

As you see on picture, my problem is about distance of grid. First grid distance not equal with other grid distances.

I wrote to code increment=35 but I saw on graphic 9 days for first distance. When I change BeginingDate and LastDate parameters, I get same problem all the time.

I1=9 days --> It should be 35 days
I2=35 days
I3=35 days
I4=35 days
I5=35 days
I6=35 days
I7=35 days
I8=35 days
I9=35 days
..............

My graphic have to get same grid distance for bottom. How can I do it?

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

Post by Narcís » Wed Nov 02, 2005 12:44 pm

Hi glikoz,

I'm not able to reproduce this problem here. Could you please send us an example we can run "as-is" or the .ten file for this chart so that we can reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
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