Page 1 of 1

Fastest Way to Load data for Surface

Posted: Sun Aug 22, 2004 9:41 pm
by 9078657
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!

Posted: Mon Aug 23, 2004 9:44 am
by Chris
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.