BCGControlBar Pro for MFC
virtual void CBCGPChartDataPoint::SetCategoryName ( const CString &  strName)
inlinevirtual

Sets data point category name.

Called to set category name of data point. A category name is displayed on X axis (if X axis is categorized). You can specify data point category name when adding data with CBCGPChartVisualObject::AddChartData or CBCGPChartSeries::AddDataPoint.

If this method is called directly, X axis is not updated with the new category, therefore it's recommended to set a category name either when you add data, or using CBCGPChartSeries::SetDataPointCategoryName.

Parameters
strNameSpecifies a new category name.