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 - Unable to change SeriesColor for TLineSeries
Summary: Unable to change SeriesColor for TLineSeries
Status: RESOLVED NOTABUG
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 31.201112
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-08 07:51 EDT by Bert Kreisel
Modified: 2021-08-04 08:05 EDT (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?