Page 1 of 1

Horizontal Gridlines without labels

Posted: Tue Jun 07, 2005 3:05 pm
by 9340459
I use 2 gantcharts in one window.
It is a gantt chart for persons(left axis) and dates(bottom axis)
In the left chart i have labels on the left axis, in the right chart I have no left axis.

I load in both charts irrelevant dates for each person in 1980 to set the vertical distance of each person in both charts.

I see horizontal gridlines in the left chart(with labels) and no horizontal gridlines in the right chart(without labels).

How can I get these horizontal gridlines in a chart without labels?

Hans

Posted: Tue Jun 07, 2005 3:47 pm
by narcis
Hi Hans,

Instead of hiding left axis you could hide its labels using:

Code: Select all

			tChart2.Axes.Left.Labels.Visible=false;
or you can use right axis as vertical axis using:

Code: Select all

      gantt2.VertAxis=Steema.TeeChart.Styles.VerticalAxis.Right;
This can also be done using Chart Editor.

Doesn't work

Posted: Wed Jun 15, 2005 6:46 am
by 9340459
I tried that, but the horizontal gridlines only appear with labels visible.

Hans

Found it!!

Posted: Wed Jun 15, 2005 6:53 am
by 9340459
You should set "at labels only" off at the ticks tab.

Hans