如何在excel中插入hashMap来绘制图表

发布于 2024-09-14 12:19:59 字数 248 浏览 0 评论 0原文

我在java中有一个hashMap,其中有一些键,每个键都指示一个流。然后,显示有关每个数据包的静态信息的每个值都属于该流。

我需要做的是,根据这些值为每个流绘制图表。 例如:

Flow1: {[length, time],[],[],...}
Flow2: {[length, time],[length, time],[],...}

我需要在 Excel 中绘制它们。有人可以给我一些线索吗?

I have a hashMap in java in terms of some keys which each key is indicating a flow. Then each value showing statics about each packet belongs to that flow.

What I need to do is, to draw graphs for each flow based on those values.
for example:

Flow1: {[length, time],[],[],...}
Flow2: {[length, time],[length, time],[],...}

I need to plot them in Excel. Can anyone has the idea to give me some clues please?

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

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

发布评论

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

评论(1

忆梦 2024-09-21 12:19:59

您看过 Apache POI 吗?

或者 Openoffice UNO 的 Java 绑定 ? (您运行 Openoffice 的实例并使用 Java 控制它)

Have you looked at Apache POI ?

Or the Java bindings for the Openoffice UNO ? (you run an instance of Openoffice and control it using Java)

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