BCGSuite for MFC
virtual int CBCGPChartSurfaceSeries::AddDataPoint ( double  dblY,
double  dblX,
BCGPChartFormatSeries pDataPointFormat = NULL,
DWORD_PTR  dwUserData = 0 
)
virtual

Adds a new data point to the series.

Call this method to add a new data point. Do not use the third override, which takes X and Y separately, unless you're going to modify the data point later and provide a Z value.

Data point formatting options are ignored for individual data points.

If you don't have a data for a particular surface point, pass an empty data point object, and it will be treated as missing data point correctly.

Parameters
dblYSpecifies Y value.
dblXSpecifies X value.
pDataPointFormatIgnored for the surface.
dwUserDataUser-defined data

Reimplemented from CBCGPChartSeries.