Controlling the axis notches resolution

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
benda
Newbie
Newbie
Posts: 1
Joined: Thu Mar 09, 2006 12:00 am

Controlling the axis notches resolution

Post by benda » Tue May 23, 2006 7:18 am

I'm having a problem with the "resolution" of the notches on my X axis.
I'm using the Gantt view.
I define a minimum DateTime and a maximum DateTime for the whole graph, and it seems there's only one notch for the whole axis.

it looks like this:

Code: Select all

|________________________|___________|
                     10:00:00.0                            

and I would like it to look like this:

Code: Select all

|____|____|____|____|____|____|____|_|
09:55:00  09:57:00  10:00:00.0....
I mean - I want to be able to control the density of the notches.

The problem is even getting worth when I'm zooming in.
after using the zoom tool, it looks like this:

Code: Select all

|____________________________________|
I'll appriciate any help :)
Best regards,

Benda.

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

Post by Narcís » Tue May 23, 2006 8:56 am

Hi Benda,

You can try setting the bottom axis like this:

Code: Select all

	tChart1.Axes.Bottom.Increment=double) Steema.TeeChart.DateTimeSteps.OneDay;
			tChart1.Axes.Bottom.Labels.CustomSize=0;
If this doesn't solve the problem please send us an example we can run "as-is" to reproduce the problem here. You can post your files at news://www.steema.net/steema.public.attachments 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