Page 1 of 1

Access violation when clicking the Drag Point tool in the Te

Posted: Fri Dec 10, 2010 4:26 am
by 9244525
I get an Access violation when clicking the Drag Point tool in the TeeChart 2010 demo.
Just for your information.

Re: Access violation when clicking the Drag Point tool in the Te

Posted: Fri Dec 10, 2010 11:21 am
by 9350556
Hi ChartIt,

I cannot reproduce it, but there is another error in this demo.
When I click the line between point 2 and 3, it selects point 1.
This is consistent for all lines: cliking the line between point x and x + 1, selects point x - 1.

Regards,
Bert

Re: Access violation when clicking the Drag Point tool in the Te

Posted: Fri Dec 10, 2010 11:55 am
by narcis
Hello everyone,

I can't reproduce any of those here using our current sources. Code snippet below works fine for me here. Can you please check if it works fine at your end? Can you modify it so that we can reproduce the issue here? If you are TeeChart 2010 VCL source code customers I could provide our latest sources for you to test.

Code: Select all

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
var Series1: TLineSeries;
begin
  Series1:=TLineSeries.Create(Self);
  Series1.FillSampleValues;
  Series1.Pointer.Visible:=True;
  Chart1.AddSeries(Series1);
end;

procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
begin
  Caption:=IntToStr(Chart1[0].Clicked(X,Y));
end;

Re: Access violation when clicking the Drag Point tool in the Te

Posted: Mon Dec 13, 2010 10:09 am
by 9350556
Hi NarcĂ­s,
I can't reproduce any of those here using our current sources.
Did you check this
When I click the line between point 2 and 3, it selects point 1.
This is consistent for all lines: clicking the line between point x and x + 1, selects point x - 1.
with the demo application on the website? Maybe it's time to update it.

Regards,
Bert

Re: Access violation when clicking the Drag Point tool in the Te

Posted: Wed Dec 15, 2010 1:58 pm
by yeray
Hello,

We've updated the compiled features demo here recently. I can't reproduce the error in the first post and neither the problem with the indexes.
Could you please confirm it?

Re: Access violation when clicking the Drag Point tool

Posted: Wed Dec 15, 2010 2:09 pm
by 9350556
Hi Yeray,

My issue has been solved in the new demo, but you might update the text on the website:
TeeChart compiled demo
version : 2010 / date: June 01, 2010
Bert

Re: Access violation when clicking the Drag Point tool in the Te

Posted: Wed Dec 15, 2010 2:17 pm
by narcis
Hi Bert,

Thanks for pointing this out. I have updated it to 17th November 2010 which was the date when I posted the current demo.