fix: bug#18784

* fix: bug#18784
This commit is contained in:
qiaochuLei 2023-10-12 18:00:27 +08:00 committed by GitHub
parent e6205e6602
commit ad04405afb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -185,7 +185,8 @@ const getOptions = (arr: any[]) => {
tooltip: {
trigger: 'axis',
position: function (pt: any) {
return [pt[0], '10%'];
const left = pt[0] - 80
return [left, '10%'];
},
},
series: [