|
|
@@ -439,7 +439,7 @@ const leftContent:any = ref({
|
|
|
}
|
|
|
},
|
|
|
xAxis: {
|
|
|
- triggerEvent: true,
|
|
|
+ type: 'category',
|
|
|
data: [
|
|
|
'1月',
|
|
|
'2月',
|
|
|
@@ -451,6 +451,7 @@ const leftContent:any = ref({
|
|
|
axisLabel: {
|
|
|
interval: 0,
|
|
|
fontSize: 18,
|
|
|
+ rotate: 30,
|
|
|
color: '#C9D2FA'
|
|
|
}
|
|
|
},
|
|
|
@@ -522,7 +523,7 @@ const leftContent:any = ref({
|
|
|
}
|
|
|
])
|
|
|
},
|
|
|
- barWidth: 30,
|
|
|
+ barMaxWidth: 30,
|
|
|
data: [ 200, 108, 200, 40, 210, 100 ]
|
|
|
},
|
|
|
{
|
|
|
@@ -606,8 +607,9 @@ const leftContent:any = ref({
|
|
|
avoidLabelOverlap: true, // 是否启用防止标签重叠策略
|
|
|
showEmptyCircle: true, // 是否在无数据的时候显示一个占位圆
|
|
|
label: {
|
|
|
- formatter: '{b}\n{d}%',
|
|
|
- color: 'white'
|
|
|
+ formatter: '{d}%',
|
|
|
+ color: 'white',
|
|
|
+ fontSize: 14
|
|
|
},
|
|
|
data: [
|
|
|
{ name: '0次', value: 30619 },
|
|
|
@@ -651,6 +653,7 @@ const leftContent:any = ref({
|
|
|
},
|
|
|
axisLabel: {
|
|
|
color: '#fff',
|
|
|
+ rotate: 30,
|
|
|
fontSize: 18
|
|
|
}
|
|
|
},
|
|
|
@@ -741,7 +744,7 @@ const leftContent:any = ref({
|
|
|
z: 2,
|
|
|
name: '客流排名',
|
|
|
type: 'bar',
|
|
|
- barWidth: 25,
|
|
|
+ barMaxWidth: 25,
|
|
|
zlevel: 1,
|
|
|
data: datas.map((item, i) => ({
|
|
|
value: item.value
|
|
|
@@ -793,6 +796,7 @@ const leftContent:any = ref({
|
|
|
},
|
|
|
axisLabel: {
|
|
|
color: '#fff',
|
|
|
+ rotate: 30,
|
|
|
fontSize: 18
|
|
|
}
|
|
|
},
|
|
|
@@ -883,7 +887,7 @@ const leftContent:any = ref({
|
|
|
z: 2,
|
|
|
name: '线路客流排名',
|
|
|
type: 'bar',
|
|
|
- barWidth: 25,
|
|
|
+ barMaxWidth: 25,
|
|
|
zlevel: 1,
|
|
|
data: datas.map((item, i) => ({
|
|
|
value: item.value
|