Chapter 10 User Interaction
Introduction
Objective Chart’s specialized view classes utilize the feedback management system to provide user feedback to mouse-related events. The following types of feedback are supported:
*Chart tips (similar to tool tips) are displayed when the mouse pointer rests over a data item for 1.5 seconds. The chart tips disappear after 5 seconds or when the mouse moves.
*Data items can be dragged to new positions, changing the value in the associated SRGraphData object. Using the Communication Document system incorporated in CGraphDoc and SRGraphView, the modified data value can be updated in related documents also. Optionally, chart tips can be displayed during the drag operation to display the changing data values.
*A rectangular area of the chart can be selected by dragging the mouse cursor. The chart zooms in to display only the chosen area.