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

Associate the chart with external legend object.

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