How to Graph Multiple Data Items Using Microsoft Graph

Last reviewed: April 29, 1996
Article ID: Q103086
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.