Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Objective Chart User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

17.4 Customizing Axis Scale Components

You can modify the default behavior of SRGScaleBar and its derived classes by overriding the virtual functions discussed below.

At the beginning of the drawing process, FindAttachDisplay() is called to find a required display component. The default implementation searches backward toward the head of the component list and attaches the first display encountered.

The virtual function BeforeDraw() is called after the display is attached to do final run-time configuration. The default implementation obtains the scope, text attributes, range, and endpoints from the attached display and call CreateLabels().



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.