Page 1 of 1

Exception when loading 3D chart

Posted: Wed Mar 19, 2014 9:02 am
by 16468279
Hi,
I have an exception when I add data in a TSurfaceSeries. I have joined a little project.
EDI is Delphi 2007 and Chart version is TeechartPro V2013.09.

Re: Exception when loading 3D chart

Posted: Fri Mar 21, 2014 9:46 am
by narcis
Hi mivtee,

I can not reproduce the problem here using v2014.10.140220, which is the latest version available. Can you please check if this solves the problem at your end?

BTW, I'm not getting anything displayed in the chart though. Please bear in mind that Surface series should have a structure similar to what I described here.

Re: Exception when loading 3D chart

Posted: Fri Mar 21, 2014 2:06 pm
by 16468279
Hi,

I didn't find a v2014.10.140220 for Delphi 2007, where can I download it?

It works with this code:

Code: Select all

     for x:=0 to 32 do
      (Serie as TSurfaceSeries).AddXYZ(x,random,1);
    for x:=0 to 32 do
      (Serie as TSurfaceSeries).AddXYZ(x,random,2);

I have this result:
Chard3D.png
Chard3D.png (58.25 KiB) Viewed 18297 times

But this doesn't work and make an exception:

Code: Select all

     for x:=0 to 32 do
      (Serie as TSurfaceSeries).AddXYZ(x,random,1);
    for x:=0 to 30 do
      (Serie as TSurfaceSeries).AddXYZ(x,random,2);


Re: Exception when loading 3D chart

Posted: Fri Mar 21, 2014 4:11 pm
by yeray
Hi mivtee,

I see in your dfm you have two TChart components overlapping. One has a TSurfaceSeries and the other has a TIsoSurfaceSeries.
I removed both and added a new one and created a TIsoSurfaceSeries by code.
I can reproduce the problem with v2013.09 but not with v2014.10. I attached the simplified version FYI:
Chart3DV2.zip
(1.76 KiB) Downloaded 972 times
mivtee wrote:I didn't find a v2014.10.140220 for Delphi 2007, where can I download it?
I've loged in the client area with your license information and I found the v2014.07 installer for RAD 2007:
TeeChart2014Delphi2007.exe
February 24, 2014
Build 2014.10.140220
File size - 50,36 MB
It's the second in the list, after TeeChart2014Delphi7.exe

Re: Exception when loading 3D chart

Posted: Fri Mar 21, 2014 6:52 pm
by 16468279
Sorry, but I didn't see any TeeChart2014Delphi2007.exe in our client area.

Re: Exception when loading 3D chart

Posted: Mon Mar 24, 2014 11:15 am
by yeray
Hi,
mivtee wrote:Sorry, but I didn't see any TeeChart2014Delphi2007.exe in our client area.
You "didn't see" means you do now?
If not, please tell us and we'll send you a mail with the direct link to download it.

Re: Exception when loading 3D chart

Posted: Mon Mar 24, 2014 12:55 pm
by 16468279
hi,

I don't see any TeeChart2014Delphi2007.exe in our client area. So we'll be interesting to have the link to download it.

Regards.

Re: Exception when loading 3D chart

Posted: Mon Mar 24, 2014 1:07 pm
by yeray
Hello,
mivtee wrote:I don't see any TeeChart2014Delphi2007.exe in our client area. So we'll be interesting to have the link to download it.
Just sent.

Re: Exception when loading 3D chart

Posted: Mon Mar 24, 2014 2:38 pm
by 16468279
Thank you, I used the old License/password... So it works now.

regards