|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
hello,
I am new to jsp and servlets.....and i want to make graphs using the data available from the server side.......i don't know how to start????..please provide me guidelines or suggestions...how to start with the same?????.....thanx in advance. |
|
#2
|
|||
|
|||
|
Possible Solution
I'm thinking here, bear with:
You might try an HTML web page that posts to a JSP backend that records data coordinates to a MySQL database. The fancy way of making a graph: allow a Flash .swf file access to the MySQL database, parse the coordinates, and make a graph. You can also make it more complex if needed. If you want, I can research this further and develop this for you if you want; I'll do this for $150. If not, I can continue to give you advice as you need it for free. Thanks for your time. Devin Hendricks sitesuwant@sitesuwant.com www.sitesuwant.com |
|
#3
|
|||
|
|||
|
How about using SVG? Here's more info:
SVG |
|
#4
|
||||
|
||||
|
Try on www.hotscripts.com you might find some class or bean (I don't know what they are.
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
|
#5
|
|||
|
|||
|
Have you tried creating an AWT of Swing image then using a GIFEncoder(there are a couple of freeware ones available) to write it directly to the output stream (being sure to set the content type to "image/gif" ?
I did this a while ago, and it didn't seem too tricky |
|
#6
|
|||
|
|||
|
Another way is to launch an external process that generates image files, write the dataset & other information into its standard input, then pick up the stream of bytes at its standard output and output them with content type "image/gif" or "image/png".
Read up on java.lang.Process and java.lang.Runtime on how to use system processes. There are a number of image-rendering packages available, e.g. Gnuplot, Ploticus. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > using servlets for creating images |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|