| BOOL CBCGPDiagramVisualObject::SetTextData | ( | const CString & | str, | 
| int | nIndex, | ||
| BOOL | bRedraw | ||
| ) | 
Sets text data in the diagram item.
| str | The text label. | 
| nIndex | A zero-based index of the item text label in the labels list. | 
| bRedraw | Specifies whether the item should be repainted. |