Gets the XY points into two vectors for the points that have been picked thus far. Can be called from within an event method of a derived class or after the GetGraphPoints::GetPoints() has returned. Optionally returns the row indices of the points from the plot source data sheet and/or the zero-based plot indices for the picked points.
int GetData(vector& vx, vector& vy = NULL, vector<int>& vnDatapointIndices = NULL, vector<int>& vnDataplotIndices = NULL);
Returns -1 if cancelled or an error occurred. Otherwise returns number of points picked.
For an example of using this method, please see the Example Section in GetGraphPoints.