[Solved] Don't hide axis when the series in visible = false

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bertrod
Advanced
Posts: 151
Joined: Wed Sep 07, 2005 4:00 am

[Solved] Don't hide axis when the series in visible = false

Post by bertrod » Mon Jul 03, 2006 11:50 am

Hello,

In my program, i set a series to visible := false. I noticed that the axis gets also automatically hidden. Is it possible to avoid this ? I need my axis to stay visible even with the series invisible.
Last edited by bertrod on Wed Jul 05, 2006 6:28 am, edited 1 time in total.

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

Post by Narcís » Mon Jul 03, 2006 1:30 pm

Hi bertrod,

You can hide series setting its color to none:

Code: Select all

  Series1.Color:=clNone;
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

bertrod
Advanced
Posts: 151
Joined: Wed Sep 07, 2005 4:00 am

Post by bertrod » Tue Jul 04, 2006 8:10 am

Using clNone makes my series black. :( Delphi's help says it should be white, though.

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 Jul 04, 2006 8:24 am

Hi bertrod,

Which TeeChart version and which series style are you using?

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

bertrod
Advanced
Posts: 151
Joined: Wed Sep 07, 2005 4:00 am

Post by bertrod » Tue Jul 04, 2006 8:43 am

In this program I'm still using TeeChart Pro 7.04 with TFastLineSeries. Did you change the Color property of the Series since this version ?

I know you will tell me to change my version, but I would like to upgrade the version only if I'm sure it will solve my problem. This because I made many modifications in the TeeTools.pas file and it would take me much time to copy all my modifications in the newest version. :roll:

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

Post by Pep » Tue Jul 04, 2006 4:25 pm

Hi Bertrod,

you can accomplish that by using :
Series1.Pen.Visible:=false;

bertrod
Advanced
Posts: 151
Joined: Wed Sep 07, 2005 4:00 am

Post by bertrod » Wed Jul 05, 2006 6:27 am

Pep wrote:Hi Bertrod,

you can accomplish that by using :
Series1.Pen.Visible:=false;
This one works well. Thank you pep.

Post Reply