Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Other Open Source Projects and the fly likes Drawing graphs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Drawing graphs" Watch "Drawing graphs" New topic
Author

Drawing graphs

Aniket Kedari
Ranch Hand

Joined: Jan 29, 2008
Posts: 30
Hi all,
I am developing an application which will draw graph for conference hall booking. It will be simillar to a gantt chart with little variance.

The image will look like this

Please tell me which API will be convenient to use. Specially I want to draw fragmented lines( to show hall was booked between 1 pm to 2 pm and 3 pm to 4 pm).
Can it be done using gantt chart or timeseries chart in JFreeChart.
Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 574
    
    1

For creating charts in Java you have to use awt which will be too hard to
draw chart.

The easy would be use a third party tool like Jfreechart.

best regards,
Vegeta


Back to Java , again.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
JFreeChart is a good library, kind of the standard charting package for Java. Other options are JFreeChart2D and OpenChart.


Ping & DNS - my free Android networking tools app
 
 
subject: Drawing graphs
 
Similar Threads
Is it possilbe to create Gantt chart without any tool
gantt chart for J2EE application
Tree and drawing within the same panel
What are the terms of the trade?
write a program to Draw a GanttChart using Java Swing