Home
The Toolkit for Online Communities
17111 Community Members, 0 members online, 1958 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : Display chart in web page

Forum OpenACS Q&A: Display chart in web page

Icon of envelope Request notifications

Collapse
Posted by Irma Gamez on
Hello. I need to display a normal distribution graph in my dotlrn package. I´ve reading related posts but I´ve just found old posts.
Is there some library in the dotlrn or the openacs that helps?
Or, is there some way to use java libraries like JFreechart?
I´m kind of newbie with tcl.

Thank you.

Collapse
Posted by Michael Aram on
This is not an answer to your question, but just in case you are not aware of the Google Chart tools: http://code.google.com/apis/chart/
Collapse
Posted by Irma Gamez on
Thank you very much!
I pasted the code in a .adp and it works!

Thanks again.

Collapse
Posted by Steve Manning on
If you want a flash/javascript solution that works without having to connect to Google then the free version of Fusion Charts is also worth a look http://www.fusioncharts.com/free/gallery/

- Steve
Collapse
Posted by Irma Gamez on
Very nice. But I don´t know how to use my data.
I take the data from a procedure that returns a list. How can I call that procedure in order to use a fusion chart template? Actually I don´t know what to do with the .tcl file, because chart runs if I just paste the sample in a .adp file.

Thank you.

Collapse
Posted by Steve Manning on
Its quite straightforward. Create your data as an xml page using an adp and db_multirow then pass the name of that page as the dataURL parameter to FusionCharts take a look at the docs http://www.fusioncharts.com/free/docs/

- Steve
Collapse
Posted by Steve Manning on