If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Line garph or bar graph

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-14-04, 09:40
gop373 gop373 is offline
Registered User
 
Join Date: Aug 2004
Posts: 77
Line garph or bar graph

Is it possible to use ASP and database in Microsoft Access to draw line graph or bar graph ?

If so please suggest !!
Reply With Quote
  #2 (permalink)  
Old 09-15-04, 01:55
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
There definitely is, but it depends upon the level of complexity of the charts that you need. You have three options:

1) Crystal Reports - You could purchase Crystal Reports and have the CR display your graph.

2) COM Objects - There are many commerical COM objects out there that will generate a gif or jpeg based on a set of data you load into the object.

3) ASP - ASP doesn't have any built in function to do graphing, but for very basic graphic (pretty much only bar graphs), you can do it with loops. I've done this for a very simple bar graph where I had to display a series of totals. Once I had the totals and the pre-set increments of the bar graph, it was simply a matter of using a loop to create a table that displayed an image in the table cells which equaled or were less than the total.
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #3 (permalink)  
Old 09-16-04, 13:18
rweide rweide is offline
Registered User
 
Join Date: Aug 2004
Location: USA
Posts: 54
Or you can use Microsoft's Office Web Components, which provide abilities to build Pivot Table, all kinds of charts and spreadsheet with data from various data sources. You can get some articles from MSDN to understand how this works.
Reply With Quote
  #4 (permalink)  
Old 09-16-04, 13:23
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
But doesn't that require the full install of an office app?
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #5 (permalink)  
Old 09-16-04, 15:54
rweide rweide is offline
Registered User
 
Join Date: Aug 2004
Location: USA
Posts: 54
I have Office 2003 installed, which has OWC version 11. I assume the MS Office is pretty standard on all PCs now. For Office 2000, it is OWC version 9.0. OWC is not easy to understand IF you want to get deep into it, but for most of us, it is cool enough to use.
Reply With Quote
  #6 (permalink)  
Old 09-16-04, 16:03
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Well, for larger enterprises, you'll never be able to load Office on a web server just for OWC. If you can get OWC without installing Office, that'd work.
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #7 (permalink)  
Old 09-20-04, 08:33
rweide rweide is offline
Registered User
 
Join Date: Aug 2004
Location: USA
Posts: 54
Wink

the assumption is that the spreadsheets, charts, pivot tables etc. are for the client desktops. Whether server is involved or not is not that important, a simple HTML and VBScript can still do the job. In fact, if you want to build the spreadsheet or chart thru server, you still need to send the result back to client and display on clients. So I would not use server to do this kind of job.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On