当前位置:网站首页>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]
}
]
};
边栏推荐
- Exception after repeated application redeployment on tongweb: application instance has been stopped already or outofmemoryerror:metaspace
- Leetcode Timo attack - simple
- 智能数字资产管理助力企业决胜后疫情时代
- = = relation between int and integer
- Swift--function
- The SQL file of mysql8.0 was imported into version 5.5. There was a pit
- [spark]spark introductory practical series_ 8_ Spark_ Mllib (upper)__ Introduction to machine learning and sparkmllib
- HBuilderX:HBuilderX安装以及其常用插件安装
- Missing tag identification in cots RFID systems: bringing the gap between theory and Practice
- Power simple of leetcode-3
猜你喜欢

USB 0xc0000011 error

Why do so many people hate a-spice

微信小程序:基础复习

How to view tongweb logs correctly?

Echart柱状图:堆叠柱状图value格式化显示

Echart柱状图:堆叠柱状图显示value

AUTOSAR actual combat tutorial pdf version

The difference between the increment and decrement operators before and after variables i+, +i, I –, – I

Tongweb card, tongweb card, tongweb card

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)
随机推荐
Leetcode- find a difference - simple
Leetcode- distribute cookies - simple
USB status error and its cause (error code)
Leetcode- reverse string - simple
Waterfall flow layout of uni app Homepage
Uni app dynamic setting title
[turn] explain awk (1)__ Awk Basics_ Options_ Program segment parsing and examples
Alibaba cloud OSS file download cannot be resumed at a breakpoint
【MySQL】基础知识小复习
Leetcode- longest continuous increasing sequence - simple
Lamda expression
Function and application scenario of field setaccessible() method
Add attributes in storyboard and Xib (fillet, foreground...) Ibinspectable and ibdesignable
DLL bit by bit
Cmake add -fpic option GCC
Fusionpbx installation - road to dream
Echart折线图:当多条折线存在相同name,图例仍全部显示
Leetcode- detect uppercase letters - simple
What happens when the MySQL union index ABC encounters a "comparison operator"?
Conf/tongweb Functions of properties