Microsoft KB Archive/98771

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5, 2.5a

-

SUMMARY
The GraphWizard is a FoxPro for Windows application named GENGRAPH.APP. Its principal design goal was to allow users to format and display graphs interactively, using data generated by the RQBE tool. The GraphWizard's Save push button can be used to save a graph in a specially formatted table, named QRYGRAPH.DBF by default.

MORE INFORMATION
The structure of a table used to save a GraphWizard graph is:

  Field     Field name     Type          Width

1      GRAPHNAME      Character      30 2      GRAPHID        Numeric         2 3      GRAPHTITLE     Character      80 4      XAXIS          Character      12 5      FLIST          Memo           10 6      OLEGRAPH       General        10 A graph created and saved with the GraphWizard can be displayed by using the standard methods for modifying GENERAL fields. A graph can be printed either using a general field in the Report Writer or by using an @...SAY command in a hard-coded report. Note that multiple graphs can be stored in QRYGRAPH.DBF; each graph is stored in a record in the table.

GENGRAPH.APP contains procedures that can be used display graphs previously created and saved using the GraphWizard. Using these procedures, the data upon which a graph is based can be updated. These procedures do not support changing the appearance of a graph. The appearance of a graph, like the position of the legend or the colors used for different variables, can be changed by calling Microsoft Graph itself, usually by double-clicking the window displaying the graph.

The following procedures can be called from GENGRAPH.APP:   Procedure     Description -

REFRESHGRPH  Change data in a graph saved by GraphWizard SHOWGRPH     Display a graph saved by GraphWizard UPDATEGRPH   Change data in a graph saved by GraphWizard Additional query words: FoxWin 2.50 msgraph

Keywords         : FxtoolRqbe Version          : 2.50 2.50a Platform         : WINDOWS Issue type       :
 * }