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 2066 - High-Low Series don't allow show the Legend when the GDI+
Summary: High-Low Series don't allow show the Legend when the GDI+
Status: RESOLVED WORKSFORME
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-30 11:46 EDT by sandra pazos
Modified: 2020-09-29 11:04 EDT (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2018-07-30 11:46:34 EDT
High-Low Series don't allow show the Legend when the GDI+, the problem doesn't appear using GDI and view 3D

The code below reproduce the problem: 

var Series1: TLineSeries;
Series2: THighLowSeries;
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1 := TLineSeries.Create(Self);
Series2 := THighLowSeries.Create(Self);
Chart1.AddSeries(Series1);
Chart1.AddSeries(Series2);
Series1.FillSampleValues(10);
Series2.FillSampleValues(10);
Series2.Brush.Style := bsClear;
Series2.HighBrush.Style := bsClear;
Series2.LowBrush.Style := bsClear;
Series2.LowPen.Color := clRed;
Series2.HighPen.Color := clBlue;
Chart1.Legend.Visible := true;
end;
Comment 1 marc meumann 2020-09-29 11:04:53 EDT
Not reproducible with latest code, Sept. 20.