winzip icon

Scalable Vector Graphics Charts (SVG) w/ HTML, Version: Beta 0.1

Email
Submitted on: 1/5/2015 7:47:00 PM
By: Paul Walchli (from psc cd)  
Level: Intermediate
User Rating: By 3 Users
Compatibility: ASP (Active Server Pages), HTML, VbScript (browser/client side)
Views: 1378
 
     **** UPDATE 4 JANUARY 2003: This code was a very early attempt with vector graphics. If you are interested in creating static chart images "on-the-fly", without the need of a plug-in, I highly recommend investing your time in .NET GDI+. For a sample of GDI+ charts please visit my web site at www.alerme.com. Paul Walchli, paul@alerme.com. **** ** ASP VERSION POSTED 11-14-01 ** ** On 1/31/02 I have posted a JavaScript version ... check Java/JavaScript site for code or visit my website at www.alerme.com **. This code is based on what I have posted previously using Vector Markup Language (VML). This code is written in VBScript and SVG. You will be presented an interface that allows you to enter values, pick a chart type, and render the chart to the screen. What you'll see are very basic charts (boring visually) but you will gain the understanding on how you can create SVG charts on the fly with VBScript. What you'll see rendered is well below what you are capable of creating using SVG (there are no animations or transformations). That is the main reason for naming this posting Beta 0.1. In order to view the pages correctly you must 1) download and install an SVG Viewer. 2) Copy the file (included in the zip file) Chart.svg to the root directory of your C: drive (C:\). You can change this location in the code if you wish. 3) Copy the remainder of the files into the same directory on you drive (SVGCharts or whatever). Please let me know if you have any comments or suggestions for the code. I can be contacted at: paul@alerme.com.

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
' for :Scalable Vector Graphics Charts (SVG) w/ HTML, Version: Beta 0.1
'**************************************
Copyright 2001 Paul T. Walchli
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 3 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 Intermediate 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.