Adding Data
The API to add data to the triangulated surface series has changed. The reason is that data is now packed in an interlaved array for better rendering performance. Previous code that adds data to the triangulated surface series like:
C# |
Copy Code
|
---|---|
triangulatedSurface.XValues.Add(X); triangulatedSurface.Values.Add(Y); triangulatedSurface.ZValues.Add(Z); |
Must be replaced with:
C# |
Copy Code
|
---|---|
surface.Data.AddValue(X, Y, Z); |
Precise geometry setting
The propety UsePreciseGeometry has been removed and all code setting this property must be removed. The triangulated surface series now always uses computations that prevent floating point errors.