当前位置:网站首页>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]
}
]
};
边栏推荐
- View绘制整体流程简析
- Leetcode- minimum number of operations to make array elements equal - simple
- 安全基线检查脚本—— 筑梦之路
- 軟件測試——接口常見問題匯總
- The title of the WebView page will be displayed in the top navigation bar of the app. How to customize
- 【DP之01背包】
- Leetcode- distribute cookies - simple
- Uniapp hides the scroll bar of scroll view
- Sqlplus connection failure
- Echart柱状图:堆叠柱状图显示value
猜你喜欢

Download and installation of universal player potplayer, live stream m3u8 import

智能数字资产管理助力企业决胜后疫情时代

Use of Nacos configuration center

Add attributes in storyboard and Xib (fillet, foreground...) Ibinspectable and ibdesignable

Missing tag identification in cots RFID systems: bringing the gap between theory and Practice

php 分布式事务 原理详解

Test logiciel - résumé des FAQ d'interface

SPI primary key generation strategy for shardingsphere JDBC

免费录屏软件Captura下载安装

ArrayList loop removes the pit encountered
随机推荐
Leetcode- find a difference - simple
Leetcode- hex number - simple
Leetcode- distribute cookies - simple
Uni app dynamic setting title
Swift--function
Use of Nacos configuration center
Shardingsphere JDBC < bind table > avoid join Cartesian product
Self summarizing
Add attributes in storyboard and Xib (fillet, foreground...) Ibinspectable and ibdesignable
Leetcode- number of words in string - simple
2021-11-04 implementation of binary search
@The detailed explanation of configurationproperties and the problem that all properties of the entity bean modified by this annotation are null after injection are solved
Why do so many people hate a-spice
Uniapp dynamically shows / hides the navigation bar return button
Leetcode- complement of numbers - simple
Let's talk about how ArrayList is dynamically resized and what kind of mechanism is it?
【ONE·Data || 带头双向循环链表简单实现】
Fragment lifecycle
Kotlin learning notes (1)
Tongweb customs clearance guidelines