Plot Graphs in Java

后端 未结 4 1098
臣服心动
臣服心动 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:46

    Here is a related answer of me: I have summary of existing tools and show a alternative option to create interactive charts with Gnuplot in a JPanel

    Java 3D plot library?

    For your case (2d charts) JFreeChart is OK. But sometimes JFreeChart is overkill for simple charts.

    0 讨论(0)
  • 2020-12-14 20:48

    check out the feature comparison for Java report and charting libraries; http://java-source.net/open-source/charting-and-reporting

    0 讨论(0)
  • 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

    0 讨论(0)
  • 2020-12-14 21:07

    You should look at JFreeChart.

    0 讨论(0)
提交回复
热议问题