Showing graph
1 posts in topic
Flat View  Flat View

Posted By:   karthik_kumar
Posted On:   Wednesday, January 30, 2008 05:36 AM

to all

i want how to draw the graph, the coordinates come through RS232 port.or i gave a file which contains the x,y coordinates of the graph.

anybody knows? please let me know also...

Re: Showing graph

Posted By:   Robert_Lybarger  
Posted On:   Thursday, January 31, 2008 11:46 PM

You can probably find a chart drawing library out on the 'net if you search around for it. I played with something called JFreeChart once, but I don't recall the specifics of their licensing. Otherwise, you can always create a custom Swing component (sub-class a plain JPanel, for example) and override the paintComponent method to directly draw your own axes, tick marks, and plotting lines.
About | Sitemap | Contact