Grid for surface series
Posted: Fri Mar 20, 2009 9:08 am
If I try the following for a surface series (or colorgrid)
Then the grid displays from 0 to 5. In your example using the same code
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]
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]