Chart for .NET / About Nevron Chart for .NET / Porting From Older Versions / Porting from 2019.1 to 2021.1
In This Topic
    Porting from 2019.1 to 2021.1
    In This Topic

    This topic describes the differences in the programming model between Nevron Chart for .NET 2019.1 and Nevron Chart for .NET 2021.1.

     Triangulated Surface Series

    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.