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 2446

Summary: Unable to change SeriesColor for TLineSeries
Product: VCL TeeChart Reporter: Bert Kreisel <bert.kreisel>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: normal CC: bert.kreisel, yeray
Priority: Normal    
Version: 31.201112   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: Line Delphi / C++ Builder RAD IDE Version: RAD 10.3 Rio

Description Bert Kreisel 2021-07-08 07:51:24 EDT
With

View3D = False

and

LineSeries.OutLine.Visible = True

it is not possible to set

LineSeries.SeriesColor other than clBlack
Comment 1 yeray alonso 2021-08-04 06:18:16 EDT
If you make the OutLine visible and you want to change its color:

  Chart1.View3D = False
  LineSeries.OutLine.Visible = True
  LineSeries.OutLine.Color = clRed
  LineSeries.OutLine.Width = 4

Then, if you want to modify the "inside" pen:

  LineSeries.Pen.Color = clBlue
  LineSeries.Pen.Width = 4
Comment 2 Bert Kreisel 2021-08-04 08:05:33 EDT
With

Chart1.View3D := True;
or with
LineSeries.OutLine.Visible := False;

then 

LineSeries.SeriesColor := clBlue;

is working.

Why not with 
Chart1.View3D := False;
and
LineSeries.OutLine.Visible := True;

Why we have to use LineSeries.Pen.Color in this case?