Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I am using Rgraph and I want to show average at the top of each stacked bar graph.
How can we do that?
多年来的第一个 StackOverflow 问题 - 吃巧克力!
为此,您可以使用 labelsAbove 选项-例如以下示例:
[更新:见下文]
这些是堆积条形图:
这个稍有不同,它在波浪动画效果完成时添加标签:
或者这个显示图表顶部的标签:
更新:下载档案中提供了所有演示:
https://www.rgraph.net/download.html#stable