最好的开源 Java 图表库是什么? (jfreechart 除外)

发布于 2024-07-08 06:09:52 字数 76 浏览 5 评论 0原文

为什么没有更多易于使用的 Java 开源图表库? 该领域唯一成功的开源项目似乎是 jfreechart,它甚至没有任何可用的文档或示例。

Why are there not more opensource easy to use charting libraries for Java?. The only successful opensource project in this area seems to be jfreechart, and it doesn't even have any documentation or examples available.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(10

望笑 2024-07-15 06:09:52

它们的数量并不多,因为它们会与 JFreeChart 竞争,而且它非常棒。 您可以通过下载开发人员指南来获取文档和示例。 如果您搜索的话,还有大量免费的在线教程。

There aren't a lot of them because they would be in competition with JFreeChart, and it's awesome. You can get documentation and examples by downloading the developer's guide. There are also tons of free online tutorials if you search for them.

痞味浪人 2024-07-15 06:09:52

charts4j 是一个图表和图形 API。 它使开发人员能够通过简单直观的 Java 以编程方式创建 Google Chart API 中提供的图表API。

免责声明:我编写了 charts4j。 我们将在接下来的几周内发布另一个主要版本。

There is charts4j which is a charts and graphs API. It enables developers to programmatically create the charts available in the Google Chart API through a straightforward and intuitive Java API.

Disclaimer: I wrote charts4j. We will be doing another major release in the next few weeks.

楠木可依 2024-07-15 06:09:52

EasyCharts 是商业性的,所以我无法将它用于我的项目。 我改用 GRAL 图形库。 我发现它非常容易定制,并且它像 JFreeChart 一样在 LGPL 下获得许可,因此您可以免费使用它:

http: //trac.erichseifert.de/gral

EasyCharts is commercial so i couldn't use it for my project. I used the GRAL graphing library instead. I found it very easy to customize and it's licensed under LGPL just like JFreeChart, so you can use it for free:

http://trac.erichseifert.de/gral

孤芳又自赏 2024-07-15 06:09:52

好问题,前几天我自己也在寻找 JFreeChart 的替代品。 JFreeChart 非常优秀而且非常全面,我已经在几个项目中使用过它。 我最近的问题是,这意味着将 1.6mb 的库添加到 50kb 小程序中,所以我正在寻找更小的东西。

JFreeChart FAQ 本身列出了替代方案。 与 JFreeChart 相比,它们中的大多数都非常基本,有些则相当丑陋。 最有前途的似乎是 Java Chart Construction KitOpenChart2

我还发现了 EasyCharts,这是一个商业产品,但在某些情况下似乎可以免费使用。

最后,我回到了久经考验且值得信赖的 JFreeChart 并使用 Proguard 将其削减为更易于管理的大小。

我建议您再看一下 JFreeChart。 用户指南只能购买,但演示展示了可能性,而且非常漂亮从 API 文档 可以轻松了解具体操作方法。 基本上,您从 ChartFactory 静态方法开始,将生成的 JFreeChart 对象插入 ChartPanel 显示它。 如果您遇到困难,我相信您会在 StackOverflow 上得到一些问题的快速解答。

Good question, I was just looking for alternatives to JFreeChart myself the other day. JFreeChart is excellent and very comprehensive, I've used it on several projects. My recent problem was that it meant adding 1.6mb of libraries to a 50kb applet, so I was looking for something smaller.

The JFreeChart FAQ itself lists alternatives. Compared to JFreeChart, most of them are pretty basic, and some pretty ugly. The most promising seem to be the Java Chart Construction Kit and OpenChart2.

I also found EasyCharts, which is a commercial product but seemingly free to use in some circumstances.

In the end, I went back to the tried and trusted JFreeChart and used Proguard to butcher it into a more manageable size.

I suggest that you take another look at JFreeChart. The user guide is only available to buy, but the demo shows what is possible and it's pretty easy to work out how from the API documentation. Basically you start with the ChartFactory static methods and plug the resultant JFreeChart object into a ChartPanel to display it. If you get stuck, I'm sure you'll get some quick answers to your problems on StackOverflow.

浴红衣 2024-07-15 06:09:52

您可以尝试Jzy3d。 它有助于绘制简单的 3D 图表(曲面、散点图、条形图等),并且有很多用于自定义轴、刻度等布局的选项。wiki 上有很多示例和文档。

它是免费且开源的。

干杯,

马丁

You can try Jzy3d. It helps drawing simple 3d charts (surfaces, scatters, bars, etc), and has lot of options for customizing layout of axes, ticks, etc. There are lot of examples and a documentation on the wiki.

It's free and open source.

Cheers,

Martin

不气馁 2024-07-15 06:09:52

对于动态 2D 图表,我一直在使用 JChart2D。 它快速、简单并且定期更新。 作者很快就回复了我的一份错误报告和一些功能请求。 在我们公司,我们更喜欢它而不是 JFreeChart,因为它是为动态使用而设计的,与 JFreeChart 不同。

For dynamic 2D charts, I have been using JChart2D. It's fast, simple, and being updated regularly. The author has been quick to respond to my one bug report and few feature requests. We, at our company, prefer it over JFreeChart because it was designed for dynamic use, unlike JFreeChart.

幽蝶幻影 2024-07-15 06:09:52

镇上有一个新的图表库: JChartlib JChartLib http://freshmeat.net/projects/jchartlib

There is a new charting library in town: JChartlib JChartLib http://freshmeat.net/projects/jchartlib

JChart 是完全开源的。 我不确定你到底在绘制什么以及如何绘制它(servlet、swing 等),所以我想说只需看看几个不同的,看看哪个适合你。

http://sourceforge.net/projects/jchart/

我也使用过 JGraph 但我'我只使用了他们的商业版本。 不过,他们确实提供了开源版本:

https://github.com/jgraph/jgraphx

There is JChart which is all open source. I'm not sure exactly what you are graphing and how you are graphing it (servlets, swing, etc) so I would say just look at a couple different ones and see which works for you.

http://sourceforge.net/projects/jchart/

I've also used JGraph but I've only used their commercial version. They do offer an open source version however:

https://github.com/jgraph/jgraphx

煞人兵器 2024-07-15 06:09:52

我找到了这个框架:jensoft sw2d,免费用于非商业用途(双重许可)

http://www.jensoft.org

问候。

I found this framework: jensoft sw2d, free for non commercial use (dual licensing)

http://www.jensoft.org

regards.

梦幻的心爱 2024-07-15 06:09:52

我过去使用过 EasyCharts,它名副其实。 它不如 JFreeChart 强大,但 EasyCharts 的 JAR 比 JFreeChart 小得多。

I've used EasyCharts in the past and it lived up to it's name. It's not as powerful as JFreeChart, but the JAR for EasyCharts is much smaller than for JFreeChart.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文