Page 1 of 1

Controlling the axis notches resolution

Posted: Tue May 23, 2006 7:18 am
by 9790587
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 :)

Posted: Tue May 23, 2006 8:56 am
by narcis
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.