Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a chart

Status
Not open for further replies.

Anthony1312002

Programmer
Joined
Mar 4, 2004
Messages
146
Location
US
Has anyone come across a good example showing how to create a chart using ASP that displays data from a table vertically instead of horizontally using an sql statement?
 
Define a vertical chart for me....do you mean a bar chart with vertical standing bars or some other type of chart?

If you want a bar chart with vertical bars tere have been many posts on this subject in the past, I would suggest hitting the search above, otherwise could you provide a little more info?

-T

01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111
The never-completed website:
 
Sorry about the confusion . What I would like to be able to do is create a line chart such as can be found in excel, which has markers at each data point.
 
Oh, darni, you were supposed to say bar chart. Bar harts are easy, line charts less so.

My suggestion would be to try and find a component/dll/etc that will create an image for you based on the data. It is possible to do this using straight HTML and CSS but it isn't exactly 100% easy. I've actually done pseudo linecharts ere before, the added difficulty of a marker wouldn't be to hard, but I think something tat generates an image would probably look a lot smoother and be easier to use.

I just did a google search on ASP line chart, and found this link:
I looked at the first one and it looks pretty good, plus it's free :)

if you decide to use one of those you should come back and write up a review on it or even a FAQ if you try a couple.

-T

01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111
The never-completed website:
 
Thanks Tarwin, I'm taking a look at the one you suggested which is in Java. I have to admit though, I'm a bit new to using this is ASP. Let alone having it get results from an SQL statement. Have you seen anything a bit simpler?
 
You may also want to look at this thread, i posted the code to build a bunch of graphs in pure HTML, as well as a pseudo line graph: thread333-615778

-T

01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111
The never-completed website:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top