Making the grid lines go away (VB)

TeeChart for ActiveX, COM and ASP
Post Reply
Scrub
Newbie
Newbie
Posts: 5
Joined: Mon Mar 08, 2004 5:00 am
Location: Sisters, Oregon
Contact:

Making the grid lines go away (VB)

Post by Scrub » Wed Sep 15, 2004 8:35 pm

I want to turn off the gridlines. This shouldn't be a difficult thing. I have wasted 2 hours wandering through the help files.

I would appreciate any help

Thanks.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Sep 16, 2004 8:29 am

Hi,

it's easy <g>, you can do :
TChart1.Axis.Left.GridPen.Visible = False
TChart1.Axis.Bottom.GridPen.Visible = False

Scrub
Newbie
Newbie
Posts: 5
Joined: Mon Mar 08, 2004 5:00 am
Location: Sisters, Oregon
Contact:

Post by Scrub » Thu Sep 16, 2004 11:00 pm

Thanks,
I figured it out eventually. Seems like it would be a little more intuitive like
TChart.ShowGridLines = false
Or at least TChart.Series(Index).ShowGridLines = False

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Sep 17, 2004 9:00 am

Hi,

yes, but you have to have the possibility to only hide the left or the bottom, not just both.

Post Reply