Code: Select all
Random y = new Random();
double[] dX = new double[36];
double[] dY = new double[36];
double[] dZ = new double[36];
int iCount = 0;
for (int i = 0; i < 6; ++i)
{
for (int j = 0; j < 6; ++j)
{
dX[iCount] = i;
dZ[iCount] = j;
dY[iCount] = y.Next(100);
++iCount;
}
}
_serSurface.Add(dX, dY, dZ);
Welcome !\Chart styles\Extended\All 3D Series\Add Arrays method
Then you show the grid extending from 0 to 6. Is there a setting that I can change to get the behaviour shown in your example? Ideally each of the values that I am setting is the value at a pixel rather than at a point on the grid. Maybe for this I need to use the tower series?
regards
jenb[/quote]