Page 1 of 1

Inverted THistogramSeries won't fire OnClick event

Posted: Sat Aug 11, 2012 8:11 am
by 16460479
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

Re: Inverted THistogramSeries won't fire OnClick event

Posted: Mon Aug 13, 2012 9:50 am
by 10050769
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 842 times
Thanks,

Re: Inverted THistogramSeries won't fire OnClick event

Posted: Mon Aug 13, 2012 11:32 am
by 16460479
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

Re: Inverted THistogramSeries won't fire OnClick event

Posted: Mon Aug 13, 2012 12:23 pm
by 10050769
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.

Re: Inverted THistogramSeries won't fire OnClick event

Posted: Mon Aug 13, 2012 12:31 pm
by 16460479
Thank you!

Re: Inverted THistogramSeries won't fire OnClick event

Posted: Fri Nov 09, 2012 3:00 pm
by 16460479
The release notes for build 2012.07.121031 suggest this hasn't been fixed. Is that true?

Re: Inverted THistogramSeries won't fire OnClick event

Posted: Tue Nov 13, 2012 12:41 pm
by narcis
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.