Page 1 of 1
Hiding line pen broken in Build 2013.09.131119
Posted: Wed Nov 27, 2013 9:52 am
by 16566677
Hello,
we are using TLineSeries in a situation where we decide after the creation of the series if the line should be visible or not.
Until the last build we were able to hide the line by setting Series->LinePen->Visible = false.
Now this setting does not have an affect any more (only the symbol in the legend becomes larger).
Is this a bug or desired behavior?
Thanks in advance for an answer,
regards
Hans
Re: Hiding line pen broken in Build 2013.09.131119
Posted: Wed Nov 27, 2013 11:34 am
by narcis
Hello Hans,
This looks like a bug. Could you please add it to
bugzilla? Doing so you'll be identified as the creator of the issue and therefore notified about its evolution.
Thanks in advance.
Re: Hiding line pen broken in Build 2013.09.131119
Posted: Wed Nov 27, 2013 12:22 pm
by 16566677
Hello Narcís,
reported as bug 486 (
http://bugs.teechart.net/show_bug.cgi?id=486).
Regards
Hans
Re: Hiding line pen broken in Build 2013.09.131119
Posted: Wed Nov 27, 2013 12:25 pm
by narcis
Thanks Hans, confirmed!
Re: Hiding line pen broken in Build 2013.09.131119
Posted: Wed Nov 27, 2013 1:02 pm
by narcis
Hello Hans,
Also, as a workaround, you can disable series at Chart -> Series or at run-time setting the Active or Visible properties to false:
Re: Hiding line pen broken in Build 2013.09.131119
Posted: Wed Nov 27, 2013 1:09 pm
by 16566677
Hello Narcís,
Narcís wrote:
Also, as a workaround, you can disable series at Chart -> Series or at run-time setting the Active or Visible properties to false:
I'm sorry, this won't work because I want to hide the line only, the points should still be visible. It's like switching from TLineSeries to TPointSeries.
Regards
Hans
Re: Hiding line pen broken in Build 2013.09.131119
Posted: Thu Nov 28, 2013 1:40 pm
by narcis
Hello Hans,
This has just been fixed. I sent you the unit with the fix.
Re: Hiding line pen broken in Build 2013.09.131119
Posted: Thu Mar 23, 2017 1:14 pm
by 16479960
Hi, this seems to be a problem in Delphi 10.1 Berlin, update 2 - TeeChart Pro VCL FMX 2016.19.
Updating (very) old code, and setting LinePen.Visible to False, makes no difference, temporarily I can use .Active - but not as a permanent method.
Re: Hiding line pen broken in Build 2013.09.131119
Posted: Fri Mar 24, 2017 3:18 pm
by yeray
Hello,
As you can see in the comments
#486:
David wrote:Automatically forcing the 2D line to paint, is done now only when the series Pointer and DrawArea aren't painted.
Is this your situation?
Why can't you use Active property at long term?