This commit is contained in:
lb 2022-11-22 16:58:49 +08:00
parent 890a1be63c
commit 7552e09aeb
2 changed files with 28 additions and 16 deletions

View File

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

View File

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