codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:



Home » ASP » Article

ASP Cool Chart

Article by: Glen (7/13/2002)
Bookmark us now! Add to Favourites
Email a friend!Tell a friend
Sponsored by: FindMyHosting - Web Hosting Search
Summary: This script allows you to create customisable bar charts in an instant using pure ASP code.
Viewed: 40289 times Rating (3 votes): 
 4.7 out of 5
 Rate this Article  Read Comments  Post Comments



Written by Glen from Cool ASP Stuff

View Live Demo
Download zip file.

Rated:
by Aspin.com users
What do you think?
This script allows creates a bar chart on the fly. It is very simple to customize using the array values at the bottom of the script. Simply enter a different line of values and keys here to customise the graph. You could also of course pull these values from a database for on-the-fly graphs. Hey! This stuff could save you a fortune!



Select All Code


View Live Demo
Download zip file.





CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
Rate this article:     Poor Excellent
View highlighted Comments
User Comments on 'ASP CoolChart'
Posted by :  Archive Import (Mike) at 14:50 on Friday, August 16, 2002
The graph height doesn‹t work.
This is a nice piece of work. I suggest cleaning up the code and packaging it up. Sell it for 3 bucks or something.

HTH

Posted by :  Archive Import (olivier dsm) at 11:11 on Monday, August 26, 2002
nice sample of code, easy to integrate into your asp script and to use.
Posted by :  Archive Import (JJ) at 10:57 on Monday, October 21, 2002
Nice Histogram. You did a good job.
Posted by :  Archive Import (Dayakar Sama) at 14:14 on Thursday, October 31, 2002
Hi This is Excellent Chart Site
Posted by :  Archive Import (Mark h) at 17:29 on Thursday, November 28, 2002
Hello! i've used asp graphing code from 4guys before but your gif's make it really stand out!
Posted by :  Archive Import (bouaskar) at 10:30 on Wednesday, January 15, 2003
Simple and cleaver!
Posted by :  Archive Import (Earlyman) at 22:40 on Monday, January 20, 2003
Cooooooooool!!!
Posted by :  Archive Import (Brian) at 01:36 on Thursday, February 06, 2003
Nice graphs. I like the images. Very sharp looking images.

Question,
Is there a way to make the graph Horizontil?;

instead of vertical.
Posted by :  Archive Import (jasmita) at 05:49 on Friday, February 14, 2003
Its really very nice n useful code, the best i found on net (form Bar charts in ASP program)
Posted by :  Archive Import (s) at 17:48 on Sunday, March 09, 2003
nice visual cant work out if it works not a good download for hardworking writers
Posted by :  Archive Import (ajay) at 06:36 on Friday, August 08, 2003
hi this is nice
Posted by :  Archive Import (Mike) at 20:43 on Tuesday, August 19, 2003
How can this be modified so that it is dynamically data driven?
Posted by :  Deon at 15:12 on Saturday, December 13, 2003
Hi there,
has anybody changed this so that it can pull the data from an existing DB - Access 2k with ASP VBScript.

Thanx,
Deon
Posted by :  sbaartman at 08:08 on Friday, December 19, 2003
Works nice, I did manage to hook this up to database values.
Using Vb Split function to build the arrays - easy. Hopes this answer previous questions on how to handle data.


Well done dudde.
[b]Shane.[/b]
Posted by :  stephen at 15:39 on Wednesday, March 16, 2005
Hi folks,

I am a student and i am having to code a bar chart in svg using asp taking the values from a database.
Im very lost and finding great difficulties. If anyone would have some sort of code that would help me or has done something similar, your help would be greatly appreciated.

Regards,
Stephen
Posted by :  jdidol at 16:02 on Friday, January 05, 2007
Great script! I have modified it slightly to accept data from an access database. Thanks so much you saved me many hours of coding.


To post comments you need to become a member. If you are already a member, please log in .

 



RELATED ARTICLES
ASP Format Date and Time Script
by Jeff Anderson
An ASP script showing the variety of date and time formats possible using the FormatDateTime Function.
ASP FilesystemObject
by Jeff Anderson
An introduction to the Filesystemobject
Email validation using Regular Expression
by Jeff Anderson
Using regular expression syntax is an exellent way to thoroughly validate an email. It's possible in ASP.
Creating a Dynamic Reports using ASP and Excel
by Jeff Anderson
A simple way to generate Excel reports from a database using Excel.
Create an ASP SQL Stored Procedure
by Jeff Anderson
A beginners guide to setting up a stored procedure in SQL server and calling it from an ASP page.
Creating an SQL Trigger
by Jeff Anderson
A beginners guide to creating a Trigger in SQL Server
ASP Shopping Cart
by CodeToad Plus!
Complete source code and demo database(Access, though SQL compatible) to an ASP database driven e-commerce shopping basket, taking the user through from product selection to checkout. Available to CodeToad Plus! Members
Concatenate strings in sql
by Jeff Anderson
A brief introduction to concatenating strings in an sql query (using SQL server or access databases).
ASP OpenTextFile
by Jeff Anderson
An introduction to the OpenTextFile Method of the FileSystemObject
The asp:checkbox and asp:checkboxlist control
by David Sussman, et al
Checkboxes are similar to radio buttons, and in HTML, they were used to allow multiple choices from a group of buttons.








Recent Forum Threads
• hidden div block when displayed, displays at an offset of 200px only in IE 6..
• help - sketch
• Re: Perl Script - File Handling.
• Open a file from website
• Re: to open 5 terminals from one and also execute different commands on each terminal
• read a selected multiple line, those should match some of the values read in the files..
• Help me please
• Empty the contents of a file.
• Month Start, End dates


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008