BCGControlBar Pro for MFC
void CBCGPChartVisualObject::SetOptimizedDiagramArea ( BOOL  bSet = TRUE,
BOOL  bRedraw = FALSE 
)

Specifies whether diagram's layout should be optimized after one of axes moves inside/outside the diagram's area.

Parameters
bSetTRUE - enable optimization.
bRedrawTRUE - redraw the chart.