fix(视图): 堆叠图label,tooltip偶尔不显示的问题

This commit is contained in:
junjun 2022-08-08 18:20:11 +08:00
parent 1a9d71c8d4
commit 4e4a75f6a7

View File

@ -1669,7 +1669,8 @@ export default {
view.type === 'word-cloud' ||
view.type === 'waterfall' ||
view.type === 'bar-stack' ||
view.type === 'line-stack') {
view.type === 'line-stack' ||
view.type === 'bar-stack-horizontal') {
if (view.yaxis.length > 1) {
view.yaxis.splice(1, view.yaxis.length)
}