ACC: How to Rotate a 3-Dimensional Chart Using AutomationLast reviewed: August 28, 1997Article ID: Q154583 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. This article demonstrates how to use Automation to rotate a chart created in Microsoft Graph. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual. NOTE: Only graphs of the three-dimensional type can be rotated.
MORE INFORMATIONThrough Automation, it is possible to programmatically rotate a graph. Using the Rotation property, a three-dimensional graph can be rotated to change the viewpoint of a graph or to provide an animated effect.
Example - Rotate a 3-Dimensional GraphThe following example will rotate a three-dimensional pie graph a full 360 degrees:
REFERENCESFor more information about Microsoft Graph, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q128364 TITLE : Microsoft Graph VBA Help File Available on MSLFor more information about the Type property and for a listing of chart types and their constants, open the Microsoft Graph help file (you must have the VBA_GRP.HLP help file installed), and search on "Rotation property." For more information about Automation, search the Help Index for "Automation." For more examples of Automation between Microsoft Access and Microsoft Graph, obtain the Automation Help File as described in the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q148124 TITLE: : OLE Automation Help File (95) Available on MSL Keywords : AutoGrph kbinterop kbtool PgmObj IntpGrph Technology : kbole Version : 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |