BCGControlBar Pro for MFC
void CBCGPChartSurfaceSeries::SetSurfaceDimension ( int  nXSize)

Sets surface dimension.

Surface dimension is a number of grid elements on X axis. The number of grid elements on Z axis is calculated as total number of data points divided by X dimension.

If you don't call this method, the surface dimension will be calculated automatically, but you should add regular data (Z - outer loop, X - inner loop, the dimension is set when the next X value is smaller than the previous X value).

Parameters
nXSizeSpecifies the new surface dimension.