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.
seriesColors | A reference to a structure that contains pointers to CBCGPBrush objects. |
nColorIndex | Color index, which usually corresponds to a series index. |
type | Gradient type. |