How to move data in Surface?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
tequilla
Newbie
Newbie
Posts: 6
Joined: Fri Aug 25, 2006 12:00 am
Contact:

How to move data in Surface?

Post by tequilla » Mon Apr 16, 2007 7:43 am

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.

Edu
Advanced
Posts: 206
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Post by Edu » Mon Apr 16, 2007 9:19 am

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.
Best Regards,
Edu

Steema Support Central
http://support.steema.com/

Post Reply