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

Enables an axis to always show a scroll bar.

Call this method to enable an axis to always show a scroll bar. This flag will be ignored in the following cases:

  • scroll is not enabled
  • for logarithmic scales

By the default this flag is turned off and if a scroll bar is enabled, it's shown only when an axis is zoomed in.

Parameters
bShowTRUE - always show a scroll bar; FALSE - show a scroll bar only when chart is zoomed in.
bRedrawTRUE - invalidate and redraw the parent chart.