1
A
回答
0
对morris.js网站的快速浏览显示没有证据支持水平条形图。
谷歌搜索“水平条形图的javascript”显示了一些可能的候选人包括这一个:http://www.rgraph.net/examples/hbar.html
0
3
如果您使用来自https://github.com/JelteF/morris.js的morris 可以看到水平图。在问题#455给出
0
其实有, 但大量的代码已经被写入 检查这个 enter link description here
/*
* Play with this code and it'll update in the panel opposite.
*
* Why not try some of the options above?
*/
/* @license
morris.js v0.5.0
Copyright 2014 Olly Smith All rights reserved.
Licensed under the BSD-2-Clause License.
*/
/* @license
morris.js v0.5.1
Copyright 2014 Olly Smith All rights reserved.
Licensed under the BSD-2-Clause License.
*/
(function(){var a,b,c,d,e=[].slice,f=function(a,b){return function(){return .......}).call(this);
Morris.Bar({
element: 'bar-example',
data: [
{ y: '2006', a: 100, b: 90 },
{ y: '2007', a: 75, b: 65 },
{ y: '2008', a: 50, b: 40 },
{ y: '2009', a: 75, b: 65 },
{ y: '2010', a: 50, b: 40 },
{ y: '2011', a: 75, b: 65 },
{ y: '2012', a: 100, b: 90 }
],
xkey: 'y',
ykeys: ['a', 'b'],
labels: ['Series A', 'Series B'],
horizontal: true,
stacked: true
});
相关问题
- 1. 水平条形图
- 2. 水平条形图标签
- 3. Qt:3D水平条形图
- 4. D3水平条形图
- 5. 水平显示条形图
- 6. ggplot2的水平条形图
- 7. 在水平条形图上绘制条形图
- 8. 将水平条形图更改为垂直条形图
- 9. D3js - 将垂直条形图更改为水平条形图
- 10. 重构d3条形图为水平条形图
- 11. R:在水平条形图上的条形图旁添加值
- 12. Morris.js条形图缺少标签
- 13. Morris.js条形图不显示evey xkey
- 14. 删除水平条形图中的顶部水平线(Chart.js 2)
- 15. matplotlib中水平条形图的注释
- 16. Android:用`MPAndroidChart`绘制水平条形图
- 17. Matplotlib中的水平堆积条形图
- 18. 水平条形图不为0
- 19. y轴日期的水平条形图
- 20. Plotly.js - 剧情倒转水平条形图
- 21. angular-chart.js中的水平条形图
- 22. DevExpress XtraCharts - 创建水平条形图
- 23. 如何动画水平D3条形图?
- 24. Python龟创建水平条形图
- 25. D3水平条形图精确复制
- 26. 基本d3:水平条形图
- 27. 用JQPlot绘制水平条形图
- 28. 使用d3的水平条形图js
- 29. 分页太多的水平条形图
- 30. 排序水平条形图D3js
非常感谢你 – hyperrjas