Graph Classes
Objective Chart operations are all encapsulated in one class, SRGraph. An object of this class may be used as a member variable in another class, as a local variable in a particular function, or as a global variable. This object contains and controls the working parts of the Objective Chart system in a series of linked lists — a data list, a list for visual components, and a list that optionally contains data for user feedback.
A derived class, SRDynamicGraph, is a substitute for SRGraph that allows alternative data storage models to be used. The Dynamic data storage model stores the data values in simple arrays instead of the internal list of data objects. It is useful when large amounts of data are to be plotted and when the individual styles and annotations of the data objects are not needed. The Structure data storage model can access data values stored in external (to the graph object) memory buffers. The only requirement is that the data values to be plotted in a series be uniformly spaced in memory.
The illustration below shows the hierarchy for the Objective Chart graph classes. In the hierarchy diagrams in this manual, the standard MFC classes from which the Objective Chart classes are derived are shown in white boxes.
Basic graph class hierarchy






