Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java library to create diagrams

Tags:

java

graphics

Is there a good library to create and update diagrams in Java, for instance pie chart, bar diagramm, etc. or can I start to draw them myself with Java2D?

like image 572
Konrad Reiche Avatar asked Apr 20 '11 23:04

Konrad Reiche


2 Answers

JFreeChart is a great choice. I can recommend it highly.

like image 146
duffymo Avatar answered Nov 07 '22 05:11

duffymo


If you want to produce graphs (eg visualize numerical data, etc), like duffymo said, JFreeChart is possibly the best option.

On the other hand, if you want to create diagrams (ranging from flowcharts to UML) I would then recommend jGraph (open source), or even more powerful (but closed source): yFiles

like image 40
Rui Vieira Avatar answered Nov 07 '22 06:11

Rui Vieira