BCGControlBar Pro for MFC
void CBCGPChartVisualObject::EnableDrawLegendShape ( BOOL  bEnable = TRUE,
BOOL  bRedraw = FALSE 
)

Displays or hides legend border.

Use this method to enable drawing of legend border. The legend background is filled if the border is drawn.

Parameters
bEnableTRUE - draw border and fill background.
bRedrawTRUE - immediately redraws the chart.