How To Create a 3-D Surface Graph in Visual FoxProLast reviewed: October 18, 1996Article ID: Q136902 |
The information in this article applies to:
SUMMARYThe 3-D Surface graph is not available as one of the graph types in the Graph Wizard. However, you can select the default graph from within the Graph Wizard, and then change the graph type to the 3-D Surface graph once in Microsoft Graph. Or you can use OLE automation. This article shows by example how to do it.
MORE INFORMATION
Step-by-Step Example
OLE Automation TechniqueTo use the OLE Automation, issue the following commands in the Command window or a program file:
PUBLIC x x=CREATEOBJECT('Form') x.Show x.AddObject('graph1','olecontrol','msgraph.chart') * class excel.chart could also be used in the above command x.graph1.type=14 && this is the 3-D Surface Graph x.graph1.height=150 x.graph1.width=250 x.graph1.visible=.t. |
Additional reference words: 5.00 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |