CImageChart::AddData

CImageChart::AddImage

CImageChart::SetData


int AddData( T *data, int nDims, int *dimArray );
int SetData( T *data, int nDims, int *dimArray );
BOOL AddImage( T *data, int nDims, int *dimArray, BOOL doScale, BOOL doOffset )

Parameters

Returns

SetData and AddData return an positive integer if successful, a negative integer if unsucessful. This is to be consistent with SetData and AddData in other chart types which return a negative integer if unsucessful (instead of FALSE, or zero, as AddImage returns).

AddImage returns a boolean representing whether data creation was sucessful.

Description

These functions change the current image data to the new data. CImageChart allows for only one active data set, so these functions overwrite the current data.

For details on data sets, see CChartData::SetData


CImageChart Reference | CPlot Reference