Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to draw a graph

 
peer mohamed
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi


Can you tell me a method by which i can draw a graph in JSP. which classes and methods shouldi use to acheive this,
Thanks in advance
bye
peer
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to embed an image of a graph, check out the JFreeReport library for creating chart images, and the cewolf tag library for embedding them in web pages (both on SourceForge).

If it's actually graph as in "graph theory" that you're looking for, have a look at JGraph (also on SourceForge).
 
peer mohamed
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my inputs are values of X and Y axes........

with that i want to draw a graph and not to embed an image........
can u help me
thank you
peer
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't want this to be an image, how do you propose to show it using HTML (which is what JSP is used for)?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic