GridLine Problem

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Solutions Gallery BV
Newbie
Newbie
Posts: 25
Joined: Thu Dec 27, 2007 12:00 am

GridLine Problem

Post by Solutions Gallery BV » Wed Aug 25, 2010 7:51 am

Hello
I want to make gridline in my graph just for x axis. I use for this "tChart1.Axes.Left.Grid.Visible=false;" and so in my all graph,gridline is shown just x axis.But just for one pragh gridline is shown both,x and y axis.I put belove inccorect graph.what is different in belove graph and how can i show gridline in just x axis for this graph?
Thanks
Attachments
grid.JPG
grid.JPG (118.35 KiB) Viewed 3607 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: GridLine Problem

Post by Yeray » Fri Aug 27, 2010 11:17 am

Hi Solutions Gallery BV,

You could run the following code to hide all them:

Code: Select all

  for i:=0 to Chart1.SeriesCount-1 do
    Chart1[i].GetVertAxis.Grid.Visible:=false;
If you still have problem with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply