i have to create graph with Excel data. for this i hope Applet is the right one to do, but i don't know how to do it, if any one know how to create a graph using the data in the database, please help me to do this. thanks to all if u consider my request
"venu_74" your name doesn't agree with the javaranch guidelines. please take a moment and re-register yourself after selecting a valid name following the guidelines at http://www.javaranch.com/name.jsp thanks for your cooperation. - satya
To create an applet to graph with Excel data is a big task, because it involves so many things.
Getting the data out of the Excel file. This would be done via JDBC.
Graphing the data. This is easier. Once you get the data out of the Excel file, you'll simply need to iterate through the entire dataset drawing lines between each point if you want a line graph, or drawing filled arc if you want a pie chart. This would be done in the paint() method of the applet.
The applet part. Several issues related to this... Is the Excel file on the server or on the client's machine? If it is on the client's machine, you will have to have a signed applet, capability classes, or some other procedure to break out of the applet 'sandbox'. Plus, I'm not sure how JDBC & applets get along... I know it can be done, but I don't know if it requires extra measures to work...
Just some thoughts...
Write once, run anywhere, because there's nowhere to hide! - /. A.C.