Page 1 of 1

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

Posted: Mon Jul 03, 2006 11:50 am
by 9343260
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.

Posted: Mon Jul 03, 2006 1:30 pm
by narcis
Hi bertrod,

You can hide series setting its color to none:

Code: Select all

  Series1.Color:=clNone;

Posted: Tue Jul 04, 2006 8:10 am
by 9343260
Using clNone makes my series black. :( Delphi's help says it should be white, though.

Posted: Tue Jul 04, 2006 8:24 am
by narcis
Hi bertrod,

Which TeeChart version and which series style are you using?

Thanks in advance.

Posted: Tue Jul 04, 2006 8:43 am
by 9343260
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:

Posted: Tue Jul 04, 2006 4:25 pm
by Pep
Hi Bertrod,

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

Posted: Wed Jul 05, 2006 6:27 am
by 9343260
Pep wrote:Hi Bertrod,

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