AV on mouse move on empty chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Alexandre
Newbie
Newbie
Posts: 2
Joined: Mon Aug 18, 2014 12:00 am

AV on mouse move on empty chart

Post by Alexandre » Mon Mar 09, 2015 5:31 pm

Hello,

There is a AV (access violation) when I follow this steps:

1 - Create new VCL forms application on Delphi XE7 update 1;
2 - Put the TChart component;
3 - Set the property "Legend.LegendStyle" to "lsValues";
4 - Compile and run the application;
5 - Move the mouse over the chart. Occurs here the AV error;
6 - Now, set the property "Hover.Visible" to "false";
7 - Compile and run the application;
8 - Move the mouse over the chart. No problem now;

THE AV ERROR OCCURS ONLY IF THE CHART IS EMPTY.

Anybody know this issue? There is some solution?

Sorry for my English. I am from Brazil.

Thank you,

Alexandre.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: AV on mouse move on empty chart

Post by Yeray » Wed Mar 11, 2015 10:39 am

Caro Alexandre,

Are you using the latest TeeChart Pro v2015.14?
You can check it adding the TeeConst unit to the uses clause and showing the TeeMsg_Version constant somewhere.
I drop TChart into an empty form on a new VCL application in Delphi XE7, I add the following code and I can move the mouse around with no error here.
May I be missing anything else to reproduce the problem?

Code: Select all

uses TeeConst;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Legend.LegendStyle:=lsValues;
  Chart1.Hover.Visible:=True;
  Caption:=TeeMsg_Version;
end;
2015-03-11_1138.png
2015-03-11_1138.png (5.82 KiB) Viewed 4957 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Alexandre
Newbie
Newbie
Posts: 2
Joined: Mon Aug 18, 2014 12:00 am

Re: AV on mouse move on empty chart

Post by Alexandre » Wed Mar 11, 2015 7:02 pm

Hi Yeray,

I was using the TeeChart Pro 2014. I updated to latest version (2015) and this problem is solved.

Thank you,

Alexandre.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: AV on mouse move on empty chart

Post by Yeray » Thu Mar 12, 2015 8:00 am

Great to hear it, Alexandre!
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply