fix:修复双y轴堆叠 图标显示错误
This commit is contained in:
@@ -735,6 +735,5 @@
|
|||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
color: $--color-text-primary;
|
color: $--color-text-primary;
|
||||||
transition: all 0.7s;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -180,9 +180,6 @@ export default {
|
|||||||
// eslint-disable-next-line vue/no-mutating-props
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
this.chartOption.color || (this.chartOption.color = initColor(20))
|
this.chartOption.color || (this.chartOption.color = initColor(20))
|
||||||
this.colorList = this.chartOption.color
|
this.colorList = this.chartOption.color
|
||||||
try {
|
|
||||||
this.isStack = this.chartInfo.param.stack
|
|
||||||
} catch (e) {}
|
|
||||||
this.chartInfo.loaded && this.initChart(this.chartOption)
|
this.chartInfo.loaded && this.initChart(this.chartOption)
|
||||||
},
|
},
|
||||||
destroyed () {
|
destroyed () {
|
||||||
|
|||||||
@@ -464,7 +464,7 @@ export default {
|
|||||||
str += `
|
str += `
|
||||||
<div class="tooltip__row">
|
<div class="tooltip__row">
|
||||||
<div class="row__label">
|
<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>
|
<span>${self.$t('dashboard.dashboard.chartTotal')}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="row__value">
|
<div class="row__value">
|
||||||
|
|||||||
Reference in New Issue
Block a user