lb #14

Merged
gtz217 merged 20 commits from lb into master 2022-11-23 09:44:40 +08:00
2 changed files with 28 additions and 16 deletions
Showing only changes of commit 7552e09aeb - Show all commits

View File

@ -51,6 +51,15 @@ export default {
bottom: 0, bottom: 0,
containLabel: true containLabel: true
}, },
// tooltip: {
// show: true,
// trigger: 'axis',
// axisPointer: {
// type: 'cross',
// axis: 'y'
// }
// formatter: '{b}<br/>{a0}: {c}%<br />{a1}: {c1}%'
// },
xAxis: { xAxis: {
type: 'category', type: 'category',
boundaryGap: false, boundaryGap: false,

View File

@ -25,23 +25,26 @@ export default {
bottom: 0, bottom: 0,
containLabel: true containLabel: true
}, },
xAxis: [ tooltip: {
{ show: true,
type: 'category', type: 'shadow',
data: ['A', 'B', 'C', 'D', 'E'], trigger: 'item'
axisTick: { },
alignWithLabel: true xAxis: {
}, type: 'category',
axisLine: { data: ['A', 'B', 'C', 'D', 'E'],
lineStyle: { axisTick: {
color: '#5982B233' alignWithLabel: true
} },
}, axisLine: {
axisLabel: { lineStyle: {
color: '#fff' color: '#5982B233'
} }
},
axisLabel: {
color: '#fff'
} }
], },
yAxis: [ yAxis: [
{ {
type: 'value', type: 'value',
@ -58,7 +61,7 @@ export default {
axisLabel: { axisLabel: {
color: '#ffffff9d' color: '#ffffff9d'
}, },
axisTick: { show : false } axisTick: { show: false }
} }
], ],
series: [ series: [