[英]Show value within bar on flot bar chart
I would like to show the value within the bar on the flot bar chart, something like this: 我想在flot条形图上显示栏内的值,如下所示:
|
| +----+
| | |
| | |
| | |
| +----+ | 20 |
| | | | |
| | 10 | | |
| | | | |
|---+----+------+----+------
data = [[1, 10], [2, 20]] data = [[1,10],[2,20]]
Is there a way to do this? 有没有办法做到这一点?
I think your answer is here: 我想你的回答在这里:
http://code.google.com/p/flot/issues/detail?id=218 http://code.google.com/p/flot/issues/detail?id=218
The plugin flot.barlabels can be used: 可以使用插件flot.barlabels :
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.