BCGSuite for MFC
BOOL CBCGPChartLegendEntry::ContainsCell ( CBCGPChartSeries pSeries,
int  nDataPointIndex 
) const

Tells whether an entry contains a cell that displays a legend of specified series and data point

Call this method to check whether an entry contains a cell that displays a legend of specified series and data point.

Parameters
pSeriesa pointer to a series
nDataPointIndexspecifies data point index. It can be -1 if series doesn't add its data points to legend