BCGSuite for MFC
void CBCGPChartAxis::ShowScrollBar ( BOOL  bShow = TRUE,
BOOL  bRedraw = TRUE 
)

Enables an axis to display a scroll bar.

Call this method to enable an axis to display a scroll bar. By the default a scroll bar is not displayed. Even if you call this method, a scroll bar can be hidden in the following cases:

  • 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
Parameters
bShowTRUE - show a scroll bar; FALSE - hide a scroll bar
bRedrawTRUE - invalidate and redraw the chart.