extra vertical grid line

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
superman007
Newbie
Newbie
Posts: 3
Joined: Tue Aug 25, 2009 12:00 am

extra vertical grid line

Post by superman007 » Fri Mar 19, 2010 1:42 pm

I attach an image of a section of my chart.
As you can see, the TPointSeries draws an extra unwanted vertical grid line and the corresponding x-axis text that looks messy. How do I stop it from drawing the vertical grid line as well as adding the axis text?
extraline.PNG
extraline.PNG (5.21 KiB) Viewed 3141 times

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

Re: extra vertical grid line

Post by Yeray » Fri Mar 19, 2010 2:26 pm

Hi superman007,

You could hide the bottom axis:

Code: Select all

  Chart1.Axes.Bottom.Visible:=false;
Or you could hide the grid lines and the labels separately:

Code: Select all

  Chart1.Axes.Bottom.Grid.Visible:=false;
  Chart1.Axes.Bottom.Labels:=false;
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

superman007
Newbie
Newbie
Posts: 3
Joined: Tue Aug 25, 2009 12:00 am

Re: extra vertical grid line

Post by superman007 » Fri Mar 19, 2010 2:59 pm

That will get rid of all the grid lines. I don't want that. I want to only get rid of the grid line that is drawn for the TPointSeries (the "extra" grid line that you can see in the image that goes through the green arrow).

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: extra vertical grid line

Post by Narcís » Fri Mar 19, 2010 3:46 pm

Hi superman007,

To be able to provide an accurate answer, could you please attach a simple example project we can run "as-is" to reproduce the problem here?

Thanks in advance.
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

superman007
Newbie
Newbie
Posts: 3
Joined: Tue Aug 25, 2009 12:00 am

Re: extra vertical grid line

Post by superman007 » Mon Mar 22, 2010 10:07 am

I have fixed the issue by putting in a blank label into the AddXY function call.

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

Re: extra vertical grid line

Post by Yeray » Mon Mar 22, 2010 12:08 pm

Hi superman007,

Ah, I think I've understood what you wanted to do do. You only want to hide the label drawn at the TPointSeries.
I'm grad to see you've found the solution!
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