当前位置:网站首页>Echart histogram: X-axis displays value, Y-axis displays category
Echart histogram: X-axis displays value, Y-axis displays category
2022-06-13 06:07:00 【HaanLen】


option = {
title: {
text: 'World Population'
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
}
},
legend: {
},
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',
data: [823, 234, 2034, 4970, 230]
},
{
name: '2012',
type: 'bar',
data: [325, 238, 1214, 1141, 807]
}
]
};
边栏推荐
猜你喜欢

Function and application scenario of field setaccessible() method

Tongweb card, tongweb card, tongweb card

You still can't remotely debug idea? Come and have a look at my article. It's easy to use

Concurrent programming -- what is threading?

Ffmpeg download suffix is Video files for m3u8
![[spark]spark introductory practical series_ 8_ Spark_ Mllib (lower)__ Machine learning library sparkmllib practice](/img/65/a214d137e230b1a1190feb03660f2c.jpg)
[spark]spark introductory practical series_ 8_ Spark_ Mllib (lower)__ Machine learning library sparkmllib practice
![[to]12 common IP commands in the iproute installation package](/img/65/a214d137e230b1a1190feb03660f2c.jpg)
[to]12 common IP commands in the iproute installation package

Annotation only integration SSM framework

php 分布式事务 原理详解

中断处理过程
随机推荐
Turn to 2005
Cmake add -fpic option GCC
Leetcode- complement of numbers - simple
【ONE·Data || 带头双向循环链表简单实现】
SPI primary key generation strategy for shardingsphere JDBC
Echart柱状图:x轴显示value,y轴显示类别
Leetcode- find a difference - simple
Leetcode- find all missing numbers in the array - simple
Leetcode- divide candy - simple
【DP之01背包】
Echart柱状图:堆叠柱状图显示value
HBuilderX:HBuilderX安装以及其常用插件安装
Uni app provincial and urban linkage
Missing tag identification in cots RFID systems: bringing the gap between theory and Practice
Pod libwebp error reporting solution
js将文本转成语言播放
Leetcode- third largest number - simple
Multiple reception occurs in the uniapp message delivery
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)
The technical analysis of ERP systems of the two camps in the world has been picked up many times.