BCGSuite for MFC
virtual BOOL CBCGPChartAxis::CanShowScrollBar ( ) const
virtual

Specifies whether an axis can display a scroll bar.

This method returns TRUE if an axis can display a scroll bar; otherwise FALSE.

A scroll bar can't be displayed:

  • if scrolling is disabled
  • for logarithmic scales
  • you called ShowScrollBar(FALSE) and SetAlwaysShowScrollBar(FALSE)
  • axis is zoomed out for 100% and "always show scroll bar" flag is FALSE