Setting distance of datetime axis labels
Posted: 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 ;
And my related code on below;
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?
Our date parameters are ;
Code: Select all
BeginingDate="31/12/2004"
LastDate="30/10/2005"
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;
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?