How to Graph Multiple Data Items Using Microsoft Graph

ID: Q103086

2.50 2.50a WINDOWS kbprg

The information in this article applies to:

SUMMARY

Microsoft Graph can be used from within FoxPro to graph multiple data items. By default, Graph is in row orientation. To graph items in a database so that they appear as expected, you may have to change this orientation. To do this, open Graph, and choose Series In Columns from the DataSeries menu.

MORE INFORMATION

This problem is demonstrated in the following example:

   SELECT RECNO() AS num, price, ltotal, price/ltotal*100 AS percent ;
      FROM \foxprow\tutorial\detail ;
      WHERE recno()<101 ;
      INTO CURSOR query
   DO (_gengraph)

To correctly view the data in the graph, the user must double-click the first generated graph and change to column orientation by choosing Data In Columns from the DataSeries menu in Microsoft Graph.

Additional reference words: FoxWin 2.50 2.50a msgraph ms graph KBCategory: kbprg KBSubcategory: FxprgGeneral

Keywords          : FxprgGeneral 
Version           : 2.50 2.50a
Platform          : WINDOWS

Last Reviewed: April 30, 1996