TeeChart does not compile with error in TeeSurfa

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Bruce
Newbie
Newbie
Posts: 4
Joined: Mon Aug 01, 2016 12:00 am

TeeChart does not compile with error in TeeSurfa

Post by Bruce » Thu Jan 12, 2017 11:02 pm

I have Teechart Pro 2016 v19, used with Delphi 10.1 Berlin update 2 and Intraweb 14.1.4 and am encountering a problem when compiling. I get an error message about "Incompatible types: TCustomAxisPanel and TCustomChart. It only seems to occur with map charts, not ordinary graphs and was not previously evident in v18. The form adds TeeSurfa in the interface uses section for map charts and this is where the problem occurs at line 3415
tmpChart:=ParentChart as TCustomChart;

What do I need to change to get things to compile again?

Thanks
Bruce

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

Re: TeeChart does not compile with error in TeeSurfa

Post by Yeray » Fri Jan 13, 2017 10:57 am

Hello Bruce,

I haven't been able to reproduce the problem here.
Note the line 3415 in TeeSurfa.pas falls inside the method TSurfaceSeries.DrawAllValues, so I don't understand how it can be related to maps.

Could you please arrange a simple example project we can run as-is to reproduce the problem here?

Thanks in advance.
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

Bruce
Newbie
Newbie
Posts: 4
Joined: Mon Aug 01, 2016 12:00 am

Re: TeeChart does not compile with error in TeeSurfa

Post by Bruce » Fri Jan 13, 2017 6:45 pm

Will try to make one.

Bruce

Post Reply