Surface Smoothing

TeeChart for ActiveX, COM and ASP
Post Reply
bkaff
Newbie
Newbie
Posts: 4
Joined: Fri May 23, 2008 12:00 am

Surface Smoothing

Post by bkaff » Thu Jul 10, 2008 9:01 pm

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.

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

Post by Yeray » Fri Jul 11, 2008 8:09 am

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.
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

bkaff
Newbie
Newbie
Posts: 4
Joined: Fri May 23, 2008 12:00 am

Post by bkaff » Fri Jul 11, 2008 12:14 pm

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.

bkaff
Newbie
Newbie
Posts: 4
Joined: Fri May 23, 2008 12:00 am

Post by bkaff » Tue Jul 15, 2008 9:21 pm

I tried your code but SmoothGrid3D method still does not have the same behavior that Version 7.0.0.7 SmoothGrid3D method.

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

Post by Yeray » Thu Jul 17, 2008 9:54 am

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).
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