累积值图表

发布于 2024-12-27 21:21:16 字数 236 浏览 3 评论 0原文

我正在寻找一个可以呈现累积值的图表库。

例如,我有以下列表:

  • 一月:50
  • 二月:150
  • 三月:25

我需要图表来绘制一月的 50、二月的 200 (50+150) 和三月的 225 (50+150+25)。

我意识到我的示例非常简单,但在现实生活中它可能会变得更加复杂,涉及过滤或分组。这就是为什么我希望找到一个具有预构建函数的库。

I am looking for a charting library that renders cumulative values.

For example, I have this list:

  • January: 50
  • February: 150
  • March: 25

I need the chart to plot 50 for January, 200 (50+150) for February, and 225 (50+150+25) for March.

I realize that my example is very simple, but in real life it can become more complicated, involving filtering or grouping. That's why I am hoping to find a library with prebuilt functions.

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

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

发布评论

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

评论(1

櫻之舞 2025-01-03 21:21:16

看看 TufteGraph,您可以通过函数轻松自定义输入。

Take a look at TufteGraph, you can easily customized the inputs through a function.

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