Inverted THistogramSeries won't fire OnClick event

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Toreba
Newbie
Newbie
Posts: 20
Joined: Tue Oct 18, 2011 12:00 am

Inverted THistogramSeries won't fire OnClick event

Post by Toreba » Sat Aug 11, 2012 8:11 am

Hi,

Using TeeChart Pro 2012.06.120613 32-bit VCL in Delphi 2007, a THistogramSeries on an inverted left axis won't fire its OnClick event. But it seems fine on non-inverted axes, and other series types seem fine on inverted axes.

Can you confirm this please?

Regards

Trevor Cooper

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Inverted THistogramSeries won't fire OnClick event

Post by Sandra » Mon Aug 13, 2012 9:50 am

Hello Toreba,

I cannot reproduce your problem using last version of TeeChartVCL and the attached project. Could you please check, if using my project you can reproduce your problem? If my code works for you, but it doesn't help to solve the problem, please can you arrange a simple project for us because we can reproduce the problem and try to find a solution for you.
OnClickTest.zip
(4.72 KiB) Downloaded 833 times
Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Toreba
Newbie
Newbie
Posts: 20
Joined: Tue Oct 18, 2011 12:00 am

Re: Inverted THistogramSeries won't fire OnClick event

Post by Toreba » Mon Aug 13, 2012 11:32 am

Sandra,

I referred to the OnClick event of the THistogramSeries, not that of the chart. If you modify your project to include the something like the simple code below, you'll see, I hope, that the event is fired only when the left axis is not inverted.

procedure TForm3.Series1Click(Sender: TChartSeries; ValueIndex: Integer;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
ShowMessage('Series clicked');
end;


Regards

Toreba

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Inverted THistogramSeries won't fire OnClick event

Post by Sandra » Mon Aug 13, 2012 12:23 pm

Hello Toreba,

Sorry I have understood you use OnClick event of Chart. You are right, I have added it in bug list report with number [TV52016303]. We will try to fix it for next maintenance releases of TeeChartVCL.
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Toreba
Newbie
Newbie
Posts: 20
Joined: Tue Oct 18, 2011 12:00 am

Re: Inverted THistogramSeries won't fire OnClick event

Post by Toreba » Mon Aug 13, 2012 12:31 pm

Thank you!

Toreba
Newbie
Newbie
Posts: 20
Joined: Tue Oct 18, 2011 12:00 am

Re: Inverted THistogramSeries won't fire OnClick event

Post by Toreba » Fri Nov 09, 2012 3:00 pm

The release notes for build 2012.07.121031 suggest this hasn't been fixed. Is that true?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Inverted THistogramSeries won't fire OnClick event

Post by Narcís » Tue Nov 13, 2012 12:41 pm

Hi toreba,

Yes, that's correct. I have checked that TV52016303 is still not working and I have increased its priority to be a top priority issue.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply