BCGSuite for MFC
void BCGPChartFormatArea::Generate3DColorsForThickWalls ( )
inline

Call this method to automatically generate custom colors for thick walls and floor in 3D charts.

This method takes m_brBottomFillColor, m_brSideFillColor and m_brFillColor brushes to generate additional (top, bottom, side) custom colors for thick walls and floor.

The above colors must have been prior the call on Generate3DColorsForThickWalls.

For example, the following code sets custom colors for thick walls and floors:

Copy
CBCGPChartDiagram3D* pDiagram3D = pChart->GetDiagram3D();
// set right wall base color
pDiagram3D->m_formatWalls.m_brFillColor.SetColor(CBCGPColor::Green);
// set left wall base color
pDiagram3D->m_formatWalls.m_brSideFillColor.SetColor(CBCGPColor::Blue);
// set floor base color
pDiagram3D->m_formatWalls.m_brBottomFillColor.SetColor(CBCGPColor::Red);
// set right wall line color
pDiagram3D->m_formatWalls.m_outlineFormat.m_brLineColor.SetColor(CBCGPColor::DarkGreen);
// set left wall line color
pDiagram3D->m_formatWalls.m_outlineFormatLeftWall.m_brLineColor.SetColor(CBCGPColor::DarkBlue);
// set floor line color
pDiagram3D->m_formatWalls.m_outlineFormatFloor.m_brLineColor.SetColor(CBCGPColor::DarkRed);
// build additional colors for walls and floor

You can always set the additional colors manually:

Copy
m_brFloorFillColorTop3D; // for thick floor top
m_brFloorFillColorSide3D; // for thick floor side
m_brFloorFillColorBottom3D; // for thick floor bottom
m_brLeftWallFillColorTop3D; // for thick left wall top
m_brLeftWallFillColorSide3D; // for thick left wall side
m_brLeftWallFillColorBottom3D; // for thick left wall bottom
m_brRightWallFillColorTop3D; // for thick right wall top
m_brRightWallFillColorSide3D; // for thick right wall side
m_brRightWallFillColorBottom3D; // for thick right wall bottom