How To Create Pie Charts Using the Circle Method in VB (153927)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q153927 SUMMARY
The 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.
REFERENCES
For more information, please see the following articles in the Microsoft
Knowledge Base:
83906
How to Draw an Ellipse with Circle Statement in VB
73280
Overflow in VB Drawing Circle Segment w/ Radius of Zero
Instead of using the Circle method in the VBA language, you can also use
the Win16/Win32 API Call to achieve the same result.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbgraphic kbhowto kbProgramming KB153927 kbAudDeveloper |
---|
|