Skip to main content
Participant
July 24, 2006
Question

Charts?

  • July 24, 2006
  • 3 replies
  • 365 views
Does anyone know any tutorials, or components that I could add dynamic database driven charts on my website? I found a few that use ASP VBScript, but I was hoping to find something that at least used Javascript, because the rest of the website pages are ASP Javascript, and I would liek to keep them all the same. Thanks for any help gurus!

-Doug
This topic has been closed for replies.

3 replies

Inspiring
July 24, 2006
They need to be installed on your web server. Chart Director comes with
excellent documentation and sample code. Fusion Charts I'm not as familiar
with, but they will have documentation as well detailing what the chart
expects XML wise and perhaps some sample code to generate XML from a
database connection.

"dlbrown06" <webforumsuser@macromedia.com> wrote in message
news:ea2tfi$98t$1@forums.macromedia.com...
> Thanks for your input, but are there any tutorials on how to use it? I am
> using dreamweaver 8 obviously as my developing tool, so how would I add
> this component?


Participant
July 27, 2006
There are two methods that I use that might suit your needs. Neither require add-ins or server components. Both do a good job.

1. Create bar charts using a solid gif and tables. If you are familiar with what <tr> and <td> and the like mean, then you can take your data, sort it, calculate how many data points per bar, calculate a bar length in pixels, and stretch a "flat color" gif to be that length for each bar. Horizontal bar charts are very easy and quick to make. You can get fancier too, like labeling the bars, putting the number of data points with each bar, make each clickable to see raw data, heighlight certain bars (just swop out the gif for one of a different color.

Want a vertical bar chart? It's a tad harder to do, but is doable if you have a good understanding of tables.

2. Another way I plot data is to CSS positioning. Once you understand about absolute and relative positions and what z-indexes mean, its a fairly simple matter to plot small dots (e.g., a 3x3 gif) wherever you want for each data point. I used the technique on the home page of www.mainecoastcondominiums.com to plot condo locations.

Cheers,

Rick


dlbrown06Author
Participant
July 24, 2006
Thanks for your input, but are there any tutorials on how to use it? I am using dreamweaver 8 obviously as my developing tool, so how would I add this component?
Inspiring
July 24, 2006
www.advsofteng.com - Chart Director 4.0 comes as a DLL and can be used by
any server-side language you feel like using. It's my favorite chart/graph
component.

www.infosoftglobal.com - Fusion Charts is a Flash-based component that uses
XML to draw charts. XML can be generated by any server-side language you
feel like using. These are fancier, in that they're animated, but overall,
I don't think they're as good. Still, there is a free version for the six
basic charts (bar, line, pie, area, column, pipe).

"dlbrown06" <webforumsuser@macromedia.com> wrote in message
news:ea2i0u$ov5$1@forums.macromedia.com...
> Does anyone know any tutorials, or components that I could add dynamic
> database
> driven charts on my website? I found a few that use ASP VBScript, but I
> was
> hoping to find something that at least used Javascript, because the rest
> of the
> website pages are ASP Javascript, and I would liek to keep them all the
> same.
> Thanks for any help gurus!
>
> -Doug
>