![]() | Steema Issues DatabaseNote: 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. |
| Summary: | OnClickSeries event not fired when having two TBarSeries in 3D | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | yeray alonso <yeray> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | yeray |
| Priority: | --- | ||
| Version: | 36.220929 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | https://www.steema.com/support/viewtopic.php?f=17&t=17799&p=79164#p79164 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
This started appearing after implementing the fix for #2494: https://www.steema.com/bugs/show_bug.cgi?id=2494 Now revised. |
Having two TBarSeries (or more) in a 3D chart, the OnClickSeries event is not fired. Code to reproduce the problem: var Chart1: TChart; procedure TForm1.FormCreate(Sender: TObject); begin Chart1:=TChart.Create(Self); with Chart1 do begin Parent:=Self; Align:=alClient; AddSeries(TBarSeries).FillSampleValues(2); AddSeries(TBarSeries).FillSampleValues(2); OnClickSeries:=Chart1ClickSeries; end; end; procedure TForm1.Chart1ClickSeries(Sender: TCustomChart; Series: TChartSeries; ValueIndex: Integer; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); begin ShowMessage('OnClickSeries event fired!'); end; The problem seems to be at TCustomBarSeries.Clicked function