BCGControlBar Pro for MFC
virtual void CBCGPChartSeries::UpdateAxes ( )
virtual

Used in conjunction with "EnableHistoryMode" and updates axes when a new data point has been added.

This method is called automatically when a series is working in a "history" mode and a new data point has been added. It sets a fixed major unit for X axis, sets automatic display range (unzoom) and sets fixed maximum or minimum display value (depending on "regular" or "reverse" add option specified in EnableHistoryMode(). It also unzooms Y axis and sets default scroll range (between min and max displayed values).