Microsoft KB Archive/99841

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft Visual FoxPro for Windows, versions 3.0, 6.0
 * Microsoft FoxPro for Windows, versions 2.5, 2.5a
 * Microsoft Visual FoxPro for Macintosh, version 3.0b

-

SUMMARY
The Microsoft Graph application packaged with FoxPro for Windows does not come with documentation specific to the use of Graph within FoxPro applications.

You can use Graph to produce graphical information in both screens and reports in FoxPro.

MORE INFORMATION
To use Graph, open a table in the current work area with the following traits:


 * Field 1 defines the X axis; it can be Character, Date, or Numeric.
 * Field 2 defines the Y axis; it can be Character, Date, or Numeric.
 * Field 3 defines the values of the function to be graphed.

If a table with these traits is in the active work area, a call to cross-tab can be made using the following command:    DO (_GENXTAB) WITH 'Query' If there is a resultant table (for example, the above table is &quot;Query&quot;), as produced in entry point 1, entry point 1 may be skipped; in which case, the call will go directly to Graph. With the resultant table as the current work area, the command below calls Graph:    DO (_GENGRAPH) If you save the graph, it is stored to QRYGRAPH.DBF by default. Graphs can be appended to this file. QRYGRAPH.DBF contains the graph(s) as OLE objects and requires that they be recalculated each time the data changes. However, they can be displayed in reports and screens using the normal OLE picture-display techniques. Additional query words: VFoxMac VFoxWin FoxWin 2.50 applet

Keywords         : FxinteropOle Version          : 2.50 2.50a 3.00 | 3.00b Platform         : MACINTOSH WINDOWS Issue type       :
 * }