当前位置:网站首页>Echart柱状图:echart实现堆叠柱状图
Echart柱状图:echart实现堆叠柱状图
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',
data: [823, 234, 2034, 4970, 230]
},
{
name: '2012',
type: 'bar',
stack: 'total',
data: [325, 238, 1214, 1141, 807]
}
]
};
边栏推荐
- 智能数字资产管理助力企业决胜后疫情时代
- Building a stand-alone version of Nacos series
- Leetcode planting flowers - simple
- 1+1>2,Share Creators可以帮助您实现
- Ffmpeg download suffix is Video files for m3u8
- Basic application of sentinel series
- Concurrent programming -- what is threading?
- Leetcode- intersection of two arrays ii- simple
- 【自动化测试】Cypress手册
- 为什么那么多人讨厌A-Spice
猜你喜欢

Why do so many people hate a-spice

The reason why the process cannot be shut down after a spark job is executed and the solution
![[turn] explain awk (2)_ Combining formatted output with built-in variables to realize requirements](/img/65/a214d137e230b1a1190feb03660f2c.jpg)
[turn] explain awk (2)_ Combining formatted output with built-in variables to realize requirements

Misunderstanding of tongweb due to ease of use

Timeout thread log for tongweb

Ffmpeg download suffix is Video files for m3u8

软件测试——接口常见问题汇总

3. Postman easy to use
![[turn] explain awk (1)__ Awk Basics_ Options_ Program segment parsing and examples](/img/65/a214d137e230b1a1190feb03660f2c.jpg)
[turn] explain awk (1)__ Awk Basics_ Options_ Program segment parsing and examples

Sentinel series introduction to service flow restriction
随机推荐
【美团笔试题】
[to]12 common IP commands in the iproute installation package
USB debugging assistant (20191028)
Cmake add -fpic option GCC
Leetcode- reverse string ii- simple
Config server configuration center of Nacos series
1016 part a+b (15 points)
The problem of distinguishing and sharing sessions for multiple applications in tongweb
Status management --provider
Source code analysis of ArrayList
Tongweb card, tongweb card, tongweb card
Find out the missing numbers from the natural numbers arranged in order from 0 to 100, and the solution provides
MySQL custom function
【ONE·Data || 带头双向循环链表简单实现】
Leetcode fizz buzz simple
[automated test] cypress manual
You still can't remotely debug idea? Come and have a look at my article. It's easy to use
[turn] explain awk (2)_ Combining formatted output with built-in variables to realize requirements
JNDI configuration for tongweb7
Leetcode planting flowers - simple