Today, I tried to generate charts with JFreeChart, the picture quality is very good, and there are also many formats such as JPEG, PNG. It's really good!