能力统计echarts修改

This commit is contained in:
a0049873 2022-11-17 15:13:30 +08:00
parent f8bb9c9223
commit b5f18ecedc
2 changed files with 24 additions and 13 deletions

View File

@ -240,8 +240,8 @@
}, },
legend: { legend: {
icon: 'emptyCircle', icon: 'emptyCircle',
height: 3, itemGap: 20,
itemGap: 40, padding: 20,
// orient: 'horizontal', // orient: 'horizontal',
bottom: 0, bottom: 0,
formatter: function (name) { formatter: function (name) {

View File

@ -97,6 +97,12 @@
let myChart = echarts.init(chartDom) let myChart = echarts.init(chartDom)
let option let option
option = { option = {
grid: {
top: '10%',
right: '5%',
bottom: '10%',
left: '5%',
},
xAxis: { xAxis: {
type: 'category', type: 'category',
data: datas.time, data: datas.time,
@ -255,17 +261,22 @@
} }
.situation { .situation {
font-weight: 600; font-size: 30px;
font-style: normal; color: #000;
font-size: 24px;
text-align: center; text-align: center;
} display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin-bottom: 26px;
.line { .line {
width: 34px; width: 34px;
height: 3px; height: 3px;
background-color: #0058e1; background-color: #0058e1;
margin-top: 8px; margin-top: 8px;
} }
}
.SharingSituation { .SharingSituation {
font-size: 18px; font-size: 18px;
@ -321,8 +332,8 @@
.Chart { .Chart {
flex: 1; flex: 1;
width: 598px; width: 638px;
height: 286px; height: 296px;
background: #f7f7f7; background: #f7f7f7;
text-align: center; text-align: center;
margin: auto; margin: auto;