Page 1 of 1

Surface Smoothing

Posted: Thu Jul 10, 2008 9:01 pm
by 15049100
We are upgrading our application to use TeeChart ActiveX v8 from TeeChart ActiveX v7. We currently use asSurface.SmoothGrid3D to smooth the data on our surface plot. There seems to be a problem with this method in v8. To see the error, you can run The ActiveX demo 7 - smooth surface form runs correctly, but the ActiveX demo 8 - smooth surface does not work and display the same errors I see in my application.

Posted: Fri Jul 11, 2008 8:09 am
by yeray
Hi ,

I'm afraid I can't see any difference between both demos you mention.
I've also tested the following code with both v7 and v8 and the result seems to be exactly the same.

Code: Select all

Private Sub Form_Load()
  TChart1.AddSeries scSurface

  TChart1.Series(0).FillSampleValues 5
  TChart1.Series(0).asSurface.SmoothGrid3D
  
  TChart1.Tools.Add tcRotate
  
  TChart1.Aspect.Orthogonal = False
  TChart1.Aspect.Chart3DPercent = 100
End Sub
Do you think I'm missing anything?

Could you send us an image showing what you see in the demo in v8?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Posted: Fri Jul 11, 2008 12:14 pm
by 15049100
We are using Version 7 Release 7 with our application. The ActiveX 7 Demo works like our application with this release. When I tried using Version 7 Release 14, the ActiveX 7 Demo and our application no longer functioned as before.

I am excepting the number of points to double in both the X and Z directions and the plot to have the same aspect size each time I smooth the data using TChart.Series(1).asSurface.SmoothGrid3D.

I will try your code and see if it works.

Thank you for your quick reply.

Posted: Tue Jul 15, 2008 9:21 pm
by 15049100
I tried your code but SmoothGrid3D method still does not have the same behavior that Version 7.0.0.7 SmoothGrid3D method.

Posted: Thu Jul 17, 2008 9:54 am
by yeray
Hi bkaff,

Yes, you are right. It seems to be a bug from TeeChart 7.08 VCL and up. And that has been propagated to ActiveX from 7.0.0.7 and up.
We've added it to the wish list to be fixed in future releases (TV52013251).