|
Group: Forum Members
Posts: 176,
Visits: 1.9K
|
That's what I thought. Here's a sample of my code with the added points and lines:
for (int zIndex = 0; zIndex < zLength; zIndex++) { for (int xIndex = 0; xIndex < xLength; xIndex++) { gridSurface.Data.SetValue(xIndex, zIndex, yData[yIndex]);
series.AddDataPoint(new NDataPoint(xIndex, yData[yIndex], zIndex));
dropLines.AddDataPoint(new NDataPoint(xIndex, 0, zIndex)); dropLines.AddDataPoint(new NDataPoint(xIndex, yData[yIndex], zIndex)); dropLines.AddDataPoint(new NDataPoint(xIndex, double.NaN, zIndex));
yIndex++; } }
I wanted to attach an image but can't see how to. Basically the series and droplines ignore the z values. My grid has a maximum z of 5. Series is displayed at fixed z = 6 and droplines at z = 8.
I've tried adding the point surface, but that is also offset from the original surface. The same thing happens if I switch to using a mesh surface.
I'm not quite on the latest version if this was fixed recently.
Any ideas?
Thanks
Kevin
|