有什么体面的免费Java数据绘图库吗? [英] Are there any decent free Java data plotting libraries out there?

查看:163
本文介绍了有什么体面的免费Java数据绘图库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在最近的Java项目中,我们需要一个免费的基于Java的实时数据绘图工具。经过大量搜索,我们发现这个工具称为来自NOAA的科学图形工具包或SGT 。它看起来相当强大,但我们发现,这是不可怕的可配置。或者至少不能配置到足以满足我们的需要。我们最终深入挖掘Java代码,并逆向工程代码,并改变它,使绘图工具看起来和行为,我们想要的样子和行为的方式。当然,这会杀死任何未来升级NOAA的机会。

On a recent Java project, we needed a free Java based real-time data plotting utility. After much searching, we found this tool called the Scientific Graphics Toolkit or SGT from NOAA. It seemed pretty robust, but we found out that it wasn't terribly configurable. Or at least not configurable enough to meet our needs. We ended up digging very deeply into the Java code and reverse engineering the code and changing it all around to make the plot tool look and act the way we wanted it to look and act. Of course, this killed any chance for future upgrades from NOAA.

那么,您使用什么免费或廉价的基于Java的数据绘图工具或库?

So what free or cheap Java based data plotting tools or libraries do you use?

:感谢您 JFreeChart 的建议。我检查了他们的网站,它看起来像一个非常好的数据图表和绘图实用程序。我应该在我原来的问题中清楚说明,我正在专门绘制实时数据。我纠正了我上面的问题,使这一点清楚。看来 JFreeChart对实时数据的支持最多只是边缘性的,但。有任何其他建议吗?

Followup: Thanks for the JFreeChart suggestions. I checked out their website and it looks like a very nice data charting and plotting utility. I should have made it clear in my original question that I was looking specifically to plot real-time data. I corrected my question above to make that point clear. It appears that JFreeChart support for live data is marginal at best, though. Any other suggestions out there?

推荐答案

我已经成功使用 JFreeChart 。它是非常可配置的。 JFreeChart是开源的,但他们对开发人员指南收费。如果你做一些简单的事情,示例代码可能是足够好。

I've had success using JFreeChart on multiple projects. It is very configurable. JFreeChart is open source, but they charge for the developer guide. If you're doing something simple, the sample code is probably good enough. Otherwise, $50 for the developer guide is a pretty good bargain.

对于实时数据,我也使用JFreeChart来处理这些类型的应用程序。不幸的是,我不得不创建一些自定义数据模型与适当的同步机制,以避免竞争条件。然而,这并不是很难,JFreeChart仍然是我的第一选择。但是,如常见问题所示,如果这是一个很大的问题,JFreeChart可能不会给你最好的性能。

With respect to "real-time" data, I've also used JFreeChart for these sorts of applications. Unfortunately, I had to create some custom data models with appropriate synchronization mechanisms to avoid race conditions. However, it wasn't terribly difficult and JFreeChart would still be my first choice. However, as the FAQ suggests, JFreeChart might not give you the best performance if that is a big concern.

这篇关于有什么体面的免费Java数据绘图库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆