当前位置:网站首页>Echart histogram: stacked histogram displays value
Echart histogram: stacked histogram displays value
2022-06-13 06:07:00 【HaanLen】
option = {
title: {
text: 'World Population'
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
}
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
xAxis: {
type: 'value'
},
yAxis: {
type: 'category',
data: ['Indonesia', 'USA', 'India', 'China', 'World']
},
series: [
{
name: '2011',
type: 'bar',
stack: 'total',
label: {
show: true
},
data: [823, 234, 2034, 4970, 230]
},
{
name: '2012',
type: 'bar',
stack: 'total',
label: {
show: true
},
data: [325, 238, 1214, 1141, 807]
}
]
};
边栏推荐
- 【ONE·Data || 带头双向循环链表简单实现】
- Leetcode- keyboard line - simple
- USB debugging assistant 20181018 (v1.3)
- [spark]spark introductory practical series_ 8_ Spark_ Mllib (upper)__ Introduction to machine learning and sparkmllib
- MySQL trigger
- Tongweb adapts to openrasp
- Leetcode judge subsequence simple
- Conf/tongweb Functions of properties
- Mobile end adaptation scheme
- How MySQL optimizes the use of joint index ABC
猜你喜欢
What happens when the MySQL union index ABC encounters a "comparison operator"?
Sqlplus connection failure
微信小程序:点击事件获取当前设备信息(基础)
How to view tongweb logs correctly?
AI实现亲人“复活”|老照片修复|老照片上色,免费APP推荐
Experience of redis installation under Linux system (an error is reported at the same time. The struct redis server does not have a member named XXXX)
Status management --provider
Rk3399 hid gadget configuration
万能播放器 PotPlayer 的下载与安装,直播流 m3u8 导入
【ONE·Data || 带头双向循环链表简单实现】
随机推荐
Audio stereo to mono (Audio Dual Channel to mono channel)
Tongweb adapts to openrasp
Pod libwebp error reporting solution
微信小程序:点击事件获取当前设备信息(基础)
Echart柱状图:x轴显示value,y轴显示类别
Leetcode- reverse vowels in string - simple
Rk3399 hid gadget configuration
安全基线检查脚本—— 筑梦之路
FusionPBX 安装 —— 筑梦之路
Cmake add -fpic option GCC
Feel the power of shardingsphere JDBC through the demo
ffmpeg 下载后缀为.m3u8的视频文件
Echart矩形树图:简单实现矩形树图
Leetcode- student attendance record i- simple
Security baseline check script - the road to dream
Essays on November 5, 2021
自我总结ing
Leetcode planting flowers - simple
Leetcode- longest continuous increasing sequence - simple
Leetcode- find all missing numbers in the array - simple