JFreeChart for dynamic xy plots in java swing gui

2020-02-26 12:52发布

Has anyone worked with JFreeChart-open source library for plotting xy plots?

Could someone post an example of how to create an xy plot dynamically with the x and y values generated from the program?

And where can i get a turorial doc or something of that kind to know about how to use the JFreeChart for developing applications?

Thanks in advance..

3条回答
\"骚年 ilove
2楼-- · 2020-02-26 13:23

This is a sizeable set of JFreeChart examples, including source code for each example. There's a set of XY-chart examples. I did pay for the manuals some time ago, but in fact the examples above are sufficient to get you where you want to be.

Note that JFreeChart claims not to be suitable for fast dynamic updating, although in practice I've never found any problems with this.

查看更多
唯我独甜
3楼-- · 2020-02-26 13:29

Have you tried looking at the JFreeChart demos? See here.

If you find a sample that suits what you want to do, searching for the name of the demo in Google often pulls up the demo source code from (for example) Koders: PieChartDemo1.java

查看更多
孤傲高冷的网名
4楼-- · 2020-02-26 13:30

I hope, the following links will help you,

Jfree chart sample

Swing Sightings Volume 7

查看更多
登录 后发表回答