BCGSuite for MFC
void CBCGPChartVisualObject::RemoveRelatedLegend ( CBCGPChartLegendVisualObject pLegend,
BOOL  bRedraw = TRUE 
)

Removes the related legend from the chart.

Parameters
pLegendA pointer to external legend object.
bRedrawTRUE - invalidate and redraw the chart.