After upgrading to 2013.09.131119, the OnClickSeries event in a Tag Cloud serie works "randomly" - I mean it gets fired seldom as long as I try clicking around the chart. While with version 8 I could get reliable result, with version 2013 it looks the code to identify the click site can no longer identify reliably when a tag in the tag cloud is clicked.
Is there any change between version that requires a different approach?
OnClickSeries works "randomly" in a Tag Cloud serie
Re: OnClickSeries works "randomly" in a Tag Cloud serie
Hello,
I'm trying to reproduce the problem with the following code but it seems to work fine for me here in Delphi 7 with both TeeChart v2013.09 and the actual v2014.11.
Could you please check if it works fine for you?
If this works fine but not your project, could you please try to arrange a simple example project we can run as-is to reproduce the problem here?
If the code above reproduces the problem for you, please tell us what IDE and OS are you using.
I'm trying to reproduce the problem with the following code but it seems to work fine for me here in Delphi 7 with both TeeChart v2013.09 and the actual v2014.11.
Code: Select all
uses Chart, TeeTagCloud;
var Chart1: TChart;
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1:=TChart.Create(Self);
Chart1.Parent:=Self;
Chart1.Align:=alClient;
Chart1.AddSeries(TTagCloudSeries).FillSampleValues;
Chart1.OnMouseMove:=Chart1MouseMove;
end;
procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
begin
Caption:='X: ' + IntToStr(X) + ', Y: ' + IntToStr(Y) + ', ValueIndex: ' + IntToStr(Chart1[0].Clicked(X, Y));
end;
If this works fine but not your project, could you please try to arrange a simple example project we can run as-is to reproduce the problem here?
If the code above reproduces the problem for you, please tell us what IDE and OS are you using.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |