BCGControlBar Pro for MFC
void CBCGPChartAxis::EnableZoom ( BOOL  bEnable = TRUE)
inline

Enables or disables axis zooming.

Call this method to enable or disable zooming for a particular axis.

By default zooming is enabled at the axis level, but disabled at the chart level. Call CBCGPChartVisualObject::EnableZoom or CBCGPChartVisualObject::SetZoomScrollConfig to enable zooming at the chart level.

You can customize axis maximal zoom factor by calling SetMaxZoomInFactor().

The default zoom out value is limited by current scroll range, which is defaulted to minimum and maximum (displayed) values on the axis.

Parameters
bEnableSpecifies whether to enable (TRUE), or disable (FALSE) axis zooming.