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,8 +25,12 @@ export default {
bottom: 0, bottom: 0,
containLabel: true containLabel: true
}, },
xAxis: [ tooltip: {
{ show: true,
type: 'shadow',
trigger: 'item'
},
xAxis: {
type: 'category', type: 'category',
data: ['A', 'B', 'C', 'D', 'E'], data: ['A', 'B', 'C', 'D', 'E'],
axisTick: { axisTick: {
@ -40,8 +44,7 @@ export default {
axisLabel: { axisLabel: {
color: '#fff' color: '#fff'
} }
} },
],
yAxis: [ yAxis: [
{ {
type: 'value', type: 'value',