BCGSuite for MFC
int CBCGPChartVisualObject::GetSeriesCount ( BOOL  bIncludeNulls = TRUE)

Returns the number of series.

The returned value does not always represent the actual number of series, it just tells the size of the internal series array. If you iterate the series with GetSeries() / GetSeriesCount you may encounter NULLs returned from GetSeries().

If it's necessary to retrieve the number of visible series, call GetVisibleSeriesCount().