winzip icon

I like pie (charts)

Email
Submitted on: 1/6/2015 12:12:00 AM
By: Networking.be (from psc cd)  
Level: Advanced
User Rating: By 3 Users
Compatibility: ASP (Active Server Pages)
Views: 1018
 
     Who doesn't like pie anyway ;) ActiveX Component that creates Pie charts. INPUT: or the PieShop.PieGuy component needs two arrays. One contains the slices, the other contains the colors. Also, width and height can be given, but best results are gotten using 100x100. The base picture should point to the empty.bmp. This is used for getting the color depth of the bitmap. In this case, I've included a 1x1 24-bit bitmap. The backcolor defaults to black (0), but can be changed. RETURNS A nice pie chart having X slices. The color of each slice is the color you pass to the asp page. Note that the color is not in RGB, but in BRG, don't ask why, it's something the PIE function does. ASSUMPTIONS You need to register the dll on the server machine using regsvr32, or just by recompiling it if you have vb installed on the server.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com


Other 11 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments


 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.