Page 1 of 1

How to move data in Surface?

Posted: Mon Apr 16, 2007 7:43 am
by 9092335
Problem:

I have array [x,y,z]. It is reflection of steel strip in realtime.
x-depth of the screen 300.
y-array of 192 points I receive every 200ms
z- high of these points.

So I have 192 new y,z points every 200ms.

How to set Chart behaviour if need following:
when I add 301 row of y,z points, all data move left, the 1st row must dissapear and I would have a steel strip movie.

I can store my data array and move it in memory and set all chart data every step but it works slowly.

I can solve my problem using two ways. The first is using Surface, the second is using colorgrid in 2D mode displaying z(height) by color.

What should I do to solve the problem. What type of the chart I should use?

Thank you.

P.S. Sorry form my poor English.

Posted: Mon Apr 16, 2007 9:19 am
by 9348258
Hi tequilla.

You can use a Surface Series, if you prefer. You can read how "Surface series" work in the following post. It is explained for ColorGrid Series, but for Surface Series is the same. You should avoid using IrregularGrid=true if possible. Setting this property to true will slow your application.

Regarding moving your series, you can find an example at the following post.