pcorreya
asked on
generate graph
I need to generate a graph on the fly based on values entered by the user on the page. Can you please suggest, how I can implement this. Is there some graphing applets that I can purchase or download and give me some sample code to implement this.
Here is an example of a function being graphed via javascript:
http://javascript.internet.com/calculators/function-grapher.html
The code is provided on that page.
Also, as xabi said, a line or bar chart is very easy.
-Josh
http://javascript.internet.com/calculators/function-grapher.html
The code is provided on that page.
Also, as xabi said, a line or bar chart is very easy.
-Josh
I can't remember the URL but the netscape' Javasript tutorial had some help on it.
Regards
Aseem
Regards
Aseem
ASKER
Thanks to all your suggestions.
Xabi,
I would be using it for line and bar graphs, so I need a light weight solution in Javascript preferably where
I can show the graph, labels, headings and legend.
Thanks
Patrick
Xabi,
I would be using it for line and bar graphs, so I need a light weight solution in Javascript preferably where
I can show the graph, labels, headings and legend.
Thanks
Patrick
Basically all you need to do is come up with a layout for the chart in basic html. Then put that into javascript and plug in the computed numbers where they go. Then this can be written to a layer, a new opened window or a frame via javascript.
-Josh
-Josh
ASKER
xabi
it looks like this solution does not do line graphs.
Josh
How can I plot a series of values as a line or bar graph with labels, headings and legends. Give me a web page example if possible
it looks like this solution does not do line graphs.
Josh
How can I plot a series of values as a line or bar graph with labels, headings and legends. Give me a web page example if possible
Maybe I'm confused as to what you mean by bar graph, but isn't that what was on that page referred to by xabi?
Do you have an example of what you want to achieve, or something close to it?
-Josh
Do you have an example of what you want to achieve, or something close to it?
-Josh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for all your suggestions
I recomend you to do this via ASP & IIS and you will find what you need here:
http://www.overpower.com.br/ImageLib
http://www.aspin.com/index/default.asp?tree=aspin/components/graphics
http://members.xoom.com/vkagarwal/ExcelChart.htm
http://www.swynk.com/friends/datema/chart.asp
If you prefer to do it via an java applet you will find info here:
http://objectplanet.com/EasyCharts/
http://www.davecentral.com/3387.html
http://www.javaside.com/j_tchart.html
Or if you only need line or bar charts i recomend you to do it via javascript. It's so easy.
xabi