BCGSuite for MFC
void CBCGPChartObject::SetForeground ( BOOL  bFore = TRUE,
BOOL  bRedraw = FALSE 
)

Sets a Chart Object foreground or background.

Call this method to set a Chart Object to be foreground or background.

Background objects are drawn before diagram elements (series). Foreground objects are drawn after diagram elements.

Parameters
bForeSpecifies Z-order mode.
bRedrawTRUE - redraw a Chart.