BCGControlBar Pro for MFC
void CBCGPChartLegendCell::SetCellText ( const CString &  str,
BOOL  bRedraw = TRUE 
)

Sets new cell label

Call this method to customize cell label. If the content of legend is invalidated, the text should be set again in CBCGPChartLegendVisualObject::OnLegendContentCreated handler.

Parameters
strspecifies new cell text
bRedrawTRUE - redraw the cell; FALSE - othrewise