![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Hiding line pen has no effect | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | ChristianH <christian.holzner> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | IN_PROGRESS --- | ||
| Severity: | enhancement | CC: | david, sandra |
| Priority: | --- | ||
| Version: | 140220 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
ChristianH
2014-03-04 11:33:12 EST
The Line Pen of TLineSeries can only be hidden if Pointer->Visible ==true. The change was made after some reflection here and we considered the change an improvement (see http://bugs.teechart.net/show_bug.cgi?id=486 for details). You can however, achieve the same behaviour that you saw in previous versions; if you use the Series transparency property instead of the Series LinePen.Visible property to hide the Pen of the Series. I would recommend something like the code below: uses VCLTee.Series; var Series1:TLineSeries; procedure TForm1.FormCreate(Sender: TObject); begin Chart1.View3D := false; Series1 := TLineSeries.Create(self); Chart1.AddSeries(Series1); Series1.FillSampleValues(10); Series1.Transparency := 100; end; Thanks in advance |