Fastest Way to Load data for Surface

TeeChart for ActiveX, COM and ASP
Post Reply
miked
Newbie
Newbie
Posts: 8
Joined: Fri Nov 15, 2002 12:00 am

Fastest Way to Load data for Surface

Post by miked » Sun Aug 22, 2004 9:41 pm

Is it faster to load and present data by using the AddXYZ or AddArrayXYZ?

I am currently using AddXYZ and it takes a while to render. If it's Faster to use AddArrayXYZ, do the x&z-array's need just enough data for each point along the x&z's-axis of the chart or does it need an element for each Y data point?

scenario 1
xArr.size = 12
yArr.size = 144
z.size = 12

or

scenario 2
xArr.size = 144
yArr.size = 144
z.size = 144

Thanks!

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Mon Aug 23, 2004 9:44 am

Hi --
Is it faster to load and present data by using the AddXYZ or AddArrayXYZ?

I am currently using AddXYZ and it takes a while to render. If it's Faster to use AddArrayXYZ, do the x&z-array's need just enough data for each point along the x&z's-axis of the chart or does it need an element for each Y data point?
There's a good article written by a colleague of mine on speed techniques here:
http://www.teechart.net/support/modules ... =0&thold=0

although written for TeeChart VCL it is also very relevant to TeeChart AX.
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Post Reply