TColorGridSeries Question

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Thu Apr 29, 2004 7:17 am

Hi.

For colorgrid series there are several requirements you should know about:

1) All 3d series are actually plotting y=y(x,z) surfaces. In order to plot surface, you have to specify the y(x,z) points for all x-z positions (cells). So, y is actually a function value at specific x,z coordinate.

2) In Teechart v7.0 (for the time being, we're working on improving this) drawing algorithm supports only indexed (integer) x and z values. If this is not the case, you'll have to calculate interpolated values and pass them to series

3) Surface, contour and color grid series all require grid data i.e. you have to specify all rows and columns in series x,z 2d array. If some values are missing (as in your case), you can either add null (Color = clNone) points or use tri surface series instead (this series type does not require grid data).
Marjan Slatinek,
http://www.steema.com

Post Reply