Plot Graphs in Java

后端 未结 4 1119
臣服心动
臣服心动 2020-12-14 20:26

The Java Swing GUI that I\'m developing needs to plot a 2D graph based on the x and y coordinates generated in the program.

Is there a Swing component for that?

4条回答
  •  佛祖请我去吃肉
    2020-12-14 20:50

    You should check out JFreeChart which has Swing support. Here are some samples:

    http://www.jfree.org/jfreechart/samples.html

提交回复
热议问题