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

9.2 Objective Chart Editor

The Chart Editor is a collection of classes dedicated to chart editing functions. Driven by the SRGraphEditDialog class, it provides a simple method for modifying data, component lists, and annotations. Figure 122 shows the Chart Editor's main interface.

Figure 122: The Chart Editor main screen

You can see an example of the Chart Editor in use in the ExData sample program.

Double-clicking on an icon in the Chart Explorer window brings up properties for that item. For example, the property dialog for a component allows the component's rectangle and its fill, border, and shadow styles to be changed. The property dialog for a data object can select its object style and fill style.

A right-click brings up various context sensitive menus. For example, a right-click on the main component list object brings up a menu that allows new components to be added. A right-click on a component object allows the component's position in the component list to be changed. A right-click on a data object can add an annotation for the object.

The component list can also be stored in a file on disk as a text template for later reuse. The stored template can be reloaded by the same or different application. Or it can be incorporated in another application's resources. Using templates this way makes it easy to create many charts with a consistent appearance.

The Chart Editor is not a separate program. It is an integral part of the Objective Chart class library and may be easily added to chart applications.

To make the Chart Editor available in your application:



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.