JFreeChart Scatter Plot Lines

荒凉一梦 提交于 2019-11-29 01:53:02

Try this:

 final XYSeries data = new XYSeries("data",false);

Using this constructor for XYSeries disables autosort, as defined in the XYSeries API.

Before:

After:

Absent an sscce it's hard to say, but you might try returning DomainOrder.NONE from your implementation of XYDataset. Also, it may help to know what meaning should be given to lines connecting dots in a scatter plot.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!