CChart::AddData


int AddData( T *data, int nDims, int *dimArray );

Parameters

Returns

A number representing the data ID of the added data set. If this number is negative, the data set was not created. Use the data ID for any further function calls to alter the data set.

Description

This function adds data of any type to a chart. The data is converted to double-precision floating point for internal storage, but this function handles any type of input data.

For details on data sets, see CChartData::SetData.


CChart Reference | CPlot Reference