Page 1 of 1

Missing Tick Marks on Bottom Axis

Posted: Wed Aug 03, 2005 10:30 am
by 8120845
I have a left axis and the y values I plot on it range from -0.01 to 0.01. I get about 45 grid lines along this axis and 45 value labels. Good.

I have an identical bottom axis and the x values I plot on it range from -0.01 to 0.01 I only get one grid line along this axis and one label - at the value zero. Ugly and useless.

How do I get 45 grid values along the bottom axis? It seems that TeeChart
treats the two axes differently even though I have set them up identically.

Posted: Thu Aug 04, 2005 7:52 am
by Miguel
Hi TeeNee,

You're right, the default behaviour for the bottom axis should be the same as for the left axis. I'll add this issue to our bug list to be fixed for future releases. In the meantime you can set the interval between the grid lines by using the Increment property from the Bottom Axis, e.g.:

Code: Select all

tChart1.Axes.Bottom.Increment = 0.01;

Posted: Thu Aug 04, 2005 9:44 pm
by 8120845
That worked. Thanks. I spent a lot of time on this problem but I never tried setting Bottom.Increment to any value because it was always zero for the good as well as the ugly axes.