CXYChart::GetRangeFromData
void GetRangeFromData( CChartData *dataSet, int whichDim, double *outRange );
Parameters
- dataSet - A pointer to a data set to get the range from
- whichDim - Which dimension to get the range from (0=x, 1=y)
- outRange - A two element double array which will recieve the range of the data
Description
This function examines the data set and returns the range of the x or y elements of the data. It assumes that the data is sorted.
CXYChart Reference | CPlot Reference