Page 1 of 1

Setting distance of datetime axis labels

Posted: Tue Nov 01, 2005 11:57 am
by 8120345
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?

Posted: Wed Nov 02, 2005 12:44 pm
by narcis
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.