当前位置:网站首页>Echart柱状图:堆叠柱状图显示value
Echart柱状图:堆叠柱状图显示value
2022-06-13 06:04: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]
}
]
};
边栏推荐
- Missing tag identification in cots RFID systems: bringing the gap between theory and Practice
- Tongweb card, tongweb card, tongweb card
- Lamda expression
- OpenGL馬賽克(八)
- Leetcode- reverse string ii- simple
- Byte buddy print execution time and method link tracking
- = = relation between int and integer
- ArrayList loop removes the pit encountered
- Tongweb crawl performance log script
- Use of Nacos configuration center
猜你喜欢
自我总结ing
零拷贝技术
Config server configuration center of Nacos series
MySQL stored procedure
Working principle of sentinel series (concept)
Byte buddy print execution time and method link tracking
[compilation and assembly link] coff file and structure description
USB debugging assistant (20191028)
USB debugging assistant
2021.9.30 learning log -postman
随机推荐
Complete USB debugging assistant
Software testing - Summary of common interface problems
Leetcode- longest continuous increasing sequence - simple
Explanation of sentinel series' features, composition and deployment
Record the basic use of zxing, the Google open source library, to generate and read QR codes
Byte buddy print execution time and method link tracking
Leetcode- student attendance record i- simple
Leetcode planting flowers - simple
Leetcode- minimum number of operations to make array elements equal - simple
Use of Nacos configuration center
Status management --provider
Tongweb adapts to openrasp
The reason why the process cannot be shut down after a spark job is executed and the solution
[turn] explain awk (1)__ Awk Basics_ Options_ Program segment parsing and examples
Power of leetcode-4 - simple
Cmake add -fpic option GCC
Service fusing and degradation of Note Series
Let's talk about how ArrayList is dynamically resized and what kind of mechanism is it?
Security baseline check script - the road to dream
Leetcode perfect number simple