fix:修复双y轴堆叠 图标显示错误

This commit is contained in:
zyh
2023-04-07 16:50:30 +08:00
parent dbe2e85c6c
commit afbb7b5fcb
3 changed files with 1 additions and 5 deletions

View File

@@ -735,6 +735,5 @@
pointer-events: auto;
line-height: 16px;
color: $--color-text-primary;
transition: all 0.7s;
}
}

View File

@@ -180,9 +180,6 @@ export default {
// eslint-disable-next-line vue/no-mutating-props
this.chartOption.color || (this.chartOption.color = initColor(20))
this.colorList = this.chartOption.color
try {
this.isStack = this.chartInfo.param.stack
} catch (e) {}
this.chartInfo.loaded && this.initChart(this.chartOption)
},
destroyed () {

View File

@@ -464,7 +464,7 @@ export default {
str += `
<div class="tooltip__row">
<div class="row__label">
<span class="row__color-block" style="background-color: ${self.stackTotalColor}"></span>
<span class="${className}" style="background-color: ${color};color: ${color}"></span>
<span>${self.$t('dashboard.dashboard.chartTotal')}</span>
</div>
<div class="row__value">