简体   繁体   English

累积值图表

[英]Chart for cumulative values

I am looking for a charting library that renders cumulative values. 我正在寻找一个呈现累计值的图表库。

For example, I have this list: 例如,我有以下列表:

  • January: 50 一月:50
  • February: 150 2月:150
  • March: 25 3月:25

I need the chart to plot 50 for January, 200 (50+150) for February, and 225 (50+150+25) for March. 我需要图表绘制1月的50、2月的200(50 + 150)和3月的225(50 + 150 + 25)。

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. 这就是为什么我希望找到一个具有预建函数的库。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM