BCGSuite for MFC
int CBCGPChartVisualObject::FindSeriesIndex ( CBCGPChartSeries pSeries,
BOOL  bCheckVisible = FALSE 
) const

Given a pointer to a series returns series index.

Call this method to find a series index by a pointer to a series.

If a series not found, return value is -1.

Parameters
pSeriesA pointer to a series.
bCheckVisibleSpecifies whether a visible series only shoulc be checked.