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 - The ScrollBar tool WhenNeeded property changes the legend position when you scroll it and Legedn is aligned in the bottom.
Summary: The ScrollBar tool WhenNeeded property changes the legend position when you s...
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: 150120
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-04 10:06 EST by sandra pazos
Modified: 2015-05-15 06:01 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 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;