BCGSuite for MFC
void CBCGPChartSeries::SetGroupID ( int  nGroupID = 0,
BOOL  bRecalcMinMaxValues = TRUE 
)

Sets series group ID.

The Group ID is used for stacked series and defines what series should stack. The default value is 0.

For example, if you have 5 series and leave the default (0) for the first three series, and set 1 for the last two series, you'll get two stacks and will be able to see side-by-side stacked columns/bars for the bar series.

Parameters
nGroupIDSpecifies the new group id.
bRecalcMinMaxValuesSpecifies whether min/max values should be recalculated. Set it to TRUE if you assign Group ID after data points have been added to a series.