Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 486

Summary: Hiding line pen broken in build 2013.09.131119
Product: VCL TeeChart Reporter: weinert
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: david, narcis
Priority: High    
Version: 131119   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: Line Delphi / C++ Builder RAD IDE Version: RAD XE4

Description weinert 2013-11-27 07:18:16 EST
TLineSeries:
Setting
Series->LinePen->Visible = false
does not have any effect in build 2013.09.131119.
The line is still visible (only the symbol in the legend becomes larger).
Comment 1 david berneda 2013-11-27 10:00:44 EST
This is as designed. In 2D mode, to hide a Line series you should set Series1->Visible=false instead of LinePen->Visible, otherwise nothing will be painted.

In 3D, LinePen->Visible = false will not paint the lines surrounding the 3D segments of the line.
Comment 2 narcĂ­s calvet 2013-11-27 10:05:09 EST
The client says this won't work for him as he only wants to hide the line segments pen and keep pointers visible: http://www.teechart.net/support/viewtopic.php?f=3&t=14537&p=64075#p64075. Should he change line series style to point series instead?
Comment 3 david berneda 2013-11-27 13:57:50 EST
(In reply to comment #2)
> The client says this won't work for him as he only wants to hide the line
> segments pen and keep pointers visible:
> http://www.teechart.net/support/viewtopic.php?f=3&t=14537&p=64075#p64075.
> Should he change line series style to point series instead?

Ah! Then this should be improved, line can only be hidden if Pointer->Visible == true

I'll do this change.
Comment 4 david berneda 2013-11-28 07:56:33 EST
Fixed.

Automatically forcing the 2D line to paint, is done now only when the series Pointer and DrawArea arent painted.