BCGSuite for MFC
void CBCGPChartTheme::GetSeriesColors ( BCGPSeriesColorsPtr seriesColors,
int  nColorIndex,
CBCGPBrush::BCGP_GRADIENT_TYPE  type 
) const

Returns colors used to display series elements (shapes, data labels etc).

This method fills seriesColors structure with pointers to brushes used to draw series elements such as data point shapes (fill and outline), markers and data labels.

If a member of seriesColors is not empty, then the pointer is not replaced by a predefined theme color. Therefore it's possible to determine the final set of colors by passing this structure to a specific series to obtain customized series colors first.

Parameters
seriesColorsA reference to a structure that contains pointers to CBCGPBrush objects.
nColorIndexColor index, which usually corresponds to a series index.
typeGradient type.