Hi,
I was wondering if anyone knew how to go about creating a bar graph in asp, extracting the data from an access database?. I was searching the net for tutorials/code, but they all seem to take the data from the asp page itself or a text file.
This would be a really cool feature to have, and it would be so appreciated if someone could show me how .
Thanks
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Making an asp bar graph
Home » Forums » Developers, developers, developers » Web design and development » Making an asp bar graph
- This topic has 10 replies, 4 voices, and was last updated 21 years, 10 months ago.
AuthorTopicWSmarkymark
AskWoody LoungerMay 23, 2003 at 4:24 pm #387984Viewing 0 reply threadsAuthorReplies-
WSPeterNRoth
AskWoody LoungerMay 23, 2003 at 8:04 pm #679425try here http://www.pstruh.cz/tips/detpg_html-bar-graph-chart.htm%5B/url%5D and other Google finds for “asp bar graph”
-
WSmarkymark
AskWoody LoungerMay 25, 2003 at 5:51 am #679588Hi Peter,
I did actually come across that page before, and I have done google searches. Just some of the code they provide I’ve found it a little bit of a challenge to use.
However there is this amazing program called Swiff Chart Generator, that creates flash graphs. I downloaded it and reading up on it at the moment. -
WSsteve_skelton13
AskWoody LoungerJune 5, 2003 at 1:58 pm #682892A lot of the things I have seen for creating graphs on-the-fly (from whatever data source) require the purchase and installation of a COM object in IIS. We have used Graphics Server at my workplace and it does a good job with producing graphics, but the load time is a little slow and the temp image file tends to get large. I have seen discussions on using Office’s native Chart application but there are issues with configuring IIS to access this kind of functionality as there can be security risks and problems with load handeling in IIS as MS Chart is not, I believe, a multi-threading app.
In short, from my experience, it is best to find, buy and install a COM application for IIS that allows ASP to hook into the extension and create your graphs.
This site also has some further discussion of graphing in ASP: http://www.activeserverpages.ca/TUTORIALS/index.asp?c=e-co%5B/url%5D
-
WSDrew
AskWoody LoungerJune 8, 2003 at 7:04 pm #683731 -
WSmarkymark
AskWoody Lounger -
WSDrew
AskWoody LoungerJune 9, 2003 at 5:28 pm #683900Okay, I am attaching a zipped file, that has 6 files.
WebsiteLogs.mdb This is an Access 97 database, which holds ‘compacted’ web logs. (The 97 .mdb that holds the logs for our IIS webserver currently has 900,000+ records, and is 163 megabytes. I have a VB service that crunches the data into a format that is easier to run queries off of. The current crunched format is 11.1 megabytes, and even compacted, that’s several megs. (Most of the data is numbers, which don’t compact much).) The copy in this zip file only has one of the tables, and it has been stripped down to about 1 month’s worth of data (2-16-03 to 3-21-03).
DayHitCount.cls, a VB Class, which simply holds a HitCount and a Date value.
DayHitCounts.cls a VB Class which retrieves and sorts the data from the database, and holds it within a collection of DayHitCount Classes.
modDBConnect.bas, a plain module that connects to the .mdb, of course the path would need to be changed. This file, plus the two .cls files, should be put into a VB .dll (mine is called WebLog.dll)
dailyhitsrange.asp: This is an ASP page that lets you select a data range to view the data for.
dailyhitsdata.asp: This page shows up in an inline frame within dailyhitsrange.asp, and displays a graph based upon the data range selected. Please note that there is some FrontPage formatting on these pages….too lazy to remove it, sorry.
Hope this helps.
-
WSmarkymark
AskWoody Lounger -
WSDrew
AskWoody LoungerJune 11, 2003 at 5:49 am #684464 -
WSmarkymark
AskWoody LoungerJune 11, 2003 at 7:09 am #684476Excellent, I take it the customisation part is quite basic atleast. By the way, check out this flash graph, I got it from
Planet Source code, It will make your jaw literally drop. I played around with it 2 weeks ago, but I dont have the basic knowledge of flash to modify it., as in to retrieve the desired data from access.
Buts its really cool, another milestone in the history of graphing -
WSDrew
AskWoody Lounger
-
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
2 hours, 33 minutes ago -
Office apps read-only for family members
by
b
5 hours, 9 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
2 hours, 1 minute ago -
24H2??
by
CWBillow
7 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
13 hours, 55 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
7 hours, 8 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
1 hour, 58 minutes ago -
two pages side by side land scape
by
marc
2 days, 2 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 5 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 7 hours ago -
Security Essentials or Defender?
by
MalcolmP
1 day, 10 hours ago -
April 2025 updates out
by
Susan Bradley
5 hours, 39 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 4 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
18 hours, 7 minutes ago -
Creating an Index in Word 365
by
CWBillow
1 day, 20 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
8 hours, 42 minutes ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 3 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 5 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 3 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
2 days, 20 hours ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 2 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
3 days, 8 hours ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
2 hours, 7 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
3 days, 17 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 1 hour ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 1 hour ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
4 days, 10 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
4 days, 18 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
18 hours, 7 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.