当前位置:网站首页>Echart柱状图:x轴显示value,y轴显示类别
Echart柱状图:x轴显示value,y轴显示类别
2022-06-13 06:04: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]
}
]
};
边栏推荐
- 2021.9.29 learning log restful architecture
- Service fusing and degradation of Note Series
- How MySQL optimizes the use of joint index ABC
- Leetcode- reverse vowels in string - simple
- AUTOSAR actual combat tutorial pdf version
- Leetcode- minimum number of operations to make array elements equal - simple
- The SQL file of mysql8.0 was imported into version 5.5. There was a pit
- Leetcode- maximum average of subarray i- simple
- Nacos series registry principle and source code analysis
- Fusionpbx installation - road to dream
猜你喜欢
![A glimpse of [wechat applet]](/img/ef/17564759e720b06c2bd496d1db7544.jpg)
A glimpse of [wechat applet]

ffmpeg 下载后缀为.m3u8的视频文件

微信小程序:点击事件获取当前设备信息(基础)

Shardingsphere JDBC exception: no table route info

How MySQL optimizes the use of joint index ABC

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

Feel the power of shardingsphere JDBC through the demo

Byte buddy print execution time and method link tracking

Sqlplus connection failure

零拷贝技术
随机推荐
ArrayList loop removes the pit encountered
AUTOSAR actual combat tutorial pdf version
Data conversion analysis tool
Kotlin learning notes (1)
AUTOSAR实战教程pdf版
Minimum spanning tree (prim+kruskal) learning notes (template +oj topic)
After MySQL is installed, enter the "net start MySQL" command, and an error is reported that "net" is neither an internal or external command nor a runnable program
You still can't remotely debug idea? Come and have a look at my article. It's easy to use
[compilation and assembly link] coff file and structure description
自我总结ing
Tongweb customs clearance guidelines
Leetcode- distribute cookies - simple
High availability of Nacos series
[spark]spark introductory practical series_ 8_ Spark_ Mllib (lower)__ Machine learning library sparkmllib practice
USB debugging assistant
Leetcode guessing numbers game - simple
智能数字资产管理助力企业决胜后疫情时代
Leetcode- minimum number of operations to make array elements equal - simple
Shardingsphere JDBC exception: no table route info
Sentinel series hot spot current limiting