aspose file tools
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
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: 42954
JFreeChart is a good library, kind of the standard charting package for Java. Other options are JFreeChart2D and OpenChart.
Consider Paul's rocket mass heater.
subject: Drawing graphs