Missing Tick Marks on Bottom Axis

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TeeNee
Newbie
Newbie
Posts: 9
Joined: Fri Nov 15, 2002 12:00 am

Missing Tick Marks on Bottom Axis

Post by TeeNee » Wed Aug 03, 2005 10:30 am

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.

Miguel
Site Admin
Site Admin
Posts: 12
Joined: Thu Jul 28, 2005 4:00 am
Location: Barcelona
Contact:

Post by Miguel » Thu Aug 04, 2005 7:52 am

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;
Best regards
Miguel Espinosa

Steema Software
http://support.steema.com

TeeNee
Newbie
Newbie
Posts: 9
Joined: Fri Nov 15, 2002 12:00 am

Post by TeeNee » Thu Aug 04, 2005 9:44 pm

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.

Post Reply