Horizontal Gridlines without labels

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Hans
Newbie
Newbie
Posts: 28
Joined: Mon Jan 03, 2005 5:00 am

Horizontal Gridlines without labels

Post by Hans » Tue Jun 07, 2005 3:05 pm

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

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 Jun 07, 2005 3:47 pm

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.
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

Hans
Newbie
Newbie
Posts: 28
Joined: Mon Jan 03, 2005 5:00 am

Doesn't work

Post by Hans » Wed Jun 15, 2005 6:46 am

I tried that, but the horizontal gridlines only appear with labels visible.

Hans

Hans
Newbie
Newbie
Posts: 28
Joined: Mon Jan 03, 2005 5:00 am

Found it!!

Post by Hans » Wed Jun 15, 2005 6:53 am

You should set "at labels only" off at the ticks tab.

Hans

Post Reply