This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Drawing graphs" Watch "Drawing graphs" New topic

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

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,

Back to Java , again.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41141
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
I agree. Here's the link:
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