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 1117

Summary: The ScrollBar tool WhenNeeded property changes the legend position when you scroll it and Legedn is aligned in the bottom.
Product: VCL TeeChart Reporter: sandra pazos <sandra>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: david
Priority: Normal    
Version: 150120   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2015-02-04 10:06:47 EST
The ScrollBar tool WhenNeeded property changes the legend position when you scroll it and Legend is aligned in the bottom. Basically, seems that legend ‘jumps’ when it is scrolled to right. The space underneath the legend becomes bigger,too. Fixing the MaxNumRow the problem still occurs. 
The code below reproduces the problem: 
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.Align := alClient;
Series1.FillSampleValues(70);
ChartTool1.DrawStyle := dsWhenNeeded;
Chart1.Legend.Alignment := laBottom;
Chart1.Legend.MaxNumRows := 2;
end;