Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Closed Thread
Old 10-30-2010, 10:01 AM Making a graph
Experienced Talker

Posts: 48
Name: Derek
Location: Blacksburg, VA
Trades: 0
Hey guys, I am trying to make a graph that will graph a number on the y axis and a date on the x axis. I would prefer a line graph, but a bar graph would do as well. Any ideas how this could be done? Thanks in advance.
__________________
Derek Loftis

Please login or register to view this content. Registration is FREE
Derek227 is offline
View Public Profile
 
 
Register now for full access!
Old 10-30-2010, 06:28 PM Re: Making a graph
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,336
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
I draw various length <div>s and use CSS to colour them.

http://www.modtalk.co.uk/_site/code/css/bar-graph/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 10-30-2010, 09:19 PM Re: Making a graph
Experienced Talker

Posts: 48
Name: Derek
Location: Blacksburg, VA
Trades: 0
I was thinking more of a vertical graph not a progress bar. I have dates going across the x axis, and a number on the y axis. I am also hoping to find a way to do this through ASP rather than some other language. Thanks in advance.
__________________
Derek Loftis

Please login or register to view this content. Registration is FREE
Derek227 is offline
View Public Profile
 
Old 11-02-2010, 04:12 PM Re: Making a graph
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,336
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
I was thinking more of a vertical graph not a progress bar. I have dates going across the x axis, and a number on the y axis.
Not a problem.
You simply use vertical elements with a fixed width not forgetting that HTML works from the top left corner.

Quote:
I am also hoping to find a way to do this through ASP rather than some other language
You can't.
ASP doesn't show in the browser, so you have to use ASP to write out HTML & CSS to make it display on a page.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 11-02-2010, 05:59 PM Re: Making a graph
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
VERY useful.
http://code.google.com/apis/chart/

I use PHP to generate the URL that echos as an <img>

Ive also got a blog post about how to use it:

http://www.hauntednipple.co.uk/?p=62
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE



Last edited by lynxus; 11-02-2010 at 06:00 PM..
lynxus is offline
View Public Profile Visit lynxus's homepage!
 
Old 11-02-2010, 10:16 PM Re: Making a graph
Experienced Talker

Posts: 48
Name: Derek
Location: Blacksburg, VA
Trades: 0
Thanks guys, that will do the trick.
__________________
Derek Loftis

Please login or register to view this content. Registration is FREE
Derek227 is offline
View Public Profile
 
Closed Thread     « Reply to Making a graph
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.51063 seconds with 12 queries