Hi Joern,
The grid surface also regards empty data points - check the following example:
NCartesianChart chart = (NCartesianChart)nChartControl1.Charts[0];
chart.Enable3D = true;
chart.Width = chart.Height = chart.Depth = 40;
chart.Projection.SetPredefinedProjection(Nevron.GraphicsCore.PredefinedProjection.OrthogonalTop);
NGridSurfaceSeries gridSurface = new NGridSurfaceSeries();
gridSurface.Data.SetGridSize(3, 3);
for (int i = 0; i < gridSurface.Data.GridSizeX; i++)
{
for (int j = 0; j < gridSurface.Data.GridSizeZ; j++)
{
gridSurface.Data.SetValue(i, j, i * j);
}
}
gridSurface.Data.SetValue(0, 2, double.NaN);
chart.Series.Add(gridSurface);
nChartControl1.Controller.Tools.Add(new NPanelSelectorTool());
nChartControl1.Controller.Tools.Add(new NTrackballTool());
Hope this helps - let us now if you meet any problems...