BCGControlBar Pro for MFC
void CBCGPGridItem::SetDataBar ( int  nPercentage)

Adds a data bar to the grid item.

Call SetDataBar method to specify the data bar length (in percentage). By default, the data bars appearance is provided by the Grid color theme, but you can change it by calling CBCGPGridCtrl::SetCustomDataBarColors method. In addition, you can customize Data Bars appearance in your own visual manager.

Parameters
nPercentageThe data bar percentage (0 - 100).