HOWTO: Create Pie Charts Using the Circle Method in VBLast reviewed: September 30, 1997Article ID: Q153927 |
The information in this article applies to:
SUMMARYThe Pinnacle-BPS Graph control shipping with Visual Basic gives users the ability to create pie charts. The Pinnacle-BPS is a relatively large control and uses a large amount of disk space on distribution disks. Therefore, the custom effects available are limited to the features of the control. The Circle method in the VBA language provides functionality to draw arcs and segments. By drawing segments, you can easily create a pie chart and add custom features as you require. Below is a code sample demonstrating how to do this.
MORE INFORMATION
REFERENCESFor more information, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q83906 TITLE : How to Draw an Ellipse with Circle Statement in VB ARTICLE-ID: Q73280 TITLE : Overflow in VB Drawing Circle Segment w/ Radius of ZeroInstead of using the Circle method in the VBA language, you can also use the Win16/Win32 API Call to achieve the same result. Keywords : PrgOther VB4ALL VB4WIN vbwin GnrlVb kbgraphic kbprg Technology : kbvba Version : WINDOWS:4.0 Platform : NT WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |