• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Graph App

 
Joe Pawlak
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to write a Java app that takes data and turns it into a graph. I know how to get the data, but how would I draw the graph?
Would I use the Graphics class like in an applet?
Thanks.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best and easiest thing for you to do is probably use JFreeChart.
If, however, you chose to re-invent the wheel, your best bet is the Graphics2D API.
Good Luck!
 
Joe Pawlak
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Gregg.
It looks like it should work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic