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 - Checkboxes in TExtraLegendTool don't work
Summary: Checkboxes in TExtraLegendTool don't work
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: 21.170329
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-18 03:32 EDT by yeray alonso
Modified: 2017-04-18 03:32 EDT (History)
0 users

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 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;