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 1843

Summary: Checkboxes in TExtraLegendTool don't work
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: 21.170329   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2017-04-18 03:32:06 EDT
The mouse events may not be passed to the ExtraLegendTool. Here the code to reproduce the problem:

uses TeeExtraLegendTool, Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=False;

  Chart1.AddSeries(TLineSeries).FillSampleValues;
  Chart1.AddSeries(TLineSeries).FillSampleValues;

  Chart1.Legend.CheckBoxes:=true;

  with Chart1.Tools.Add(TExtraLegendTool) as TExtraLegendTool do
  begin
    Legend.CheckBoxes:=True;
    Legend.LegendStyle:=lsSeries;
    Series:=Chart1[0];
  end;
end;