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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Line/Scatter charts

Status
Not open for further replies.

ninners

Programmer
Apr 22, 2003
10
US
Hi,
I am trying to create a line or a scatter chart using data provided by a database. So far I have been able to create bar charts in ASP but I haven't found anything for line/scatter. I am guessing that Javascript is the best way to do this. Does anyone have any good places to look or some basic code to get me started?

Thank you!

ninners.
 
ninners, I've never tried it but I'm sure you could us CSS to write the scatter chart pretty easily. Just write a colored box with set coordinates and place an image of a dot using absolute positioning on the chart.

You could also do the lines in a similar fashion using a i pixel image and use javascript to calclulate where it goes... Sounds kind of messy, but you don't know until you try...

Get the Best Answers! faq333-2924
Is this an asp FAQ? faq333-3048
Tek-Tips Best Practices: FAQ183-3179
 
Thanks for the input. Never thought to use CSS but will try it out. Thanks again!


ninners.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top