Page 1 of 1

GridLine Problem

Posted: Wed Aug 25, 2010 7:51 am
by 13047867
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

Re: GridLine Problem

Posted: Fri Aug 27, 2010 11:17 am
by yeray
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.