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 979

Summary: Chart Color changing when mouse moves over the arrows in the TLegendScrollBar
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://stackoverflow.com/questions/26507697/teechart-tlegendscrollbar-visual-issue-when-clicking-on-scroll-arrow
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2014-10-23 07:40:54 EDT
Reproducible with the following simple application.
When you move the mouse over the arrows in the LegendScrollBar, they seem to be redrawn changing the whole Chart Color as well.

uses TeeLegendScrollBar;

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  Chart1.Gradient.Visible:=false;
  Chart1.Walls.Back.Transparent:=true;

  for i:=0 to 10 do
    Chart1.AddSeries(TBarSeries);

  Chart1.Tools.Add(TLegendScrollBar);
  Chart1.Legend.MaxNumRows:=Chart1.SeriesCount div 2;
end;