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 1205 - Hiding the LinePen in a LineSeries in 2D doesn't work
Summary: Hiding the LinePen in a LineSeries in 2D doesn't work
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 150120
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-08 10:59 EDT by yeray alonso
Modified: 2016-02-02 08:17 EST (History)
2 users (show)

See Also:
Chart Series: Line
Delphi / C++ Builder RAD IDE Version: Delphi 7


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2015-05-08 10:59:44 EDT
Hiding the LinePen in a TLineSeries:

- In 3D, the polygons are drawn without border.
- In 2D, the line is drawn!!! And if you change to 3D the border is drawn.

If you make the Pointers visible, always in 2D:

- In v2014.12, the pointers are drawn. The line isn't drawn.
- In v2015.14 and up, the pointers are drawn. The line is also drawn!!!

Test example:

uses Series;
procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=false;
  with (Chart1.AddSeries(TLineSeries) as TLineSeries) do
  begin
    FillSampleValues;
    LinePen.Visible:=false;
    //Pointer.Visible:=true;
  end;
end;

Probably related to this:
http://bugs.teechart.net/show_bug.cgi?id=486

A workaround, as the customer suggests, is to set LinePen.Style:=psClear
Comment 1 david berneda 2015-05-11 12:14:25 EDT
LinePen is forced always visible in 2D (setting Pen.Style to psClear is ok to make the pen invisible)

This is forced to prevent seeing nothing inadvertedly. 
One modification we can do is to not force pen visibility if the series Pointer is Visible.