CN-1119 fix: NPM页面地理位置模块对应的吞吐量趋势图,鼠标悬浮在趋势图上与鼠标未悬浮时的趋势图不一致

This commit is contained in:
刘洪洪
2023-07-24 14:30:17 +08:00
parent 4f1bc62527
commit 702fedbe24

View File

@@ -93,7 +93,8 @@ export default {
country: this.$store.state.panel.npmLocationCountry,
// province: '',
showError: false,
errorMsg: ''
errorMsg: '',
sizes: [3, 4, 6, 8, 9, 10]
}
},
watch: {
@@ -185,7 +186,12 @@ export default {
smooth: true,
showSymbol: false,
emphasis: {
focus: 'series'
itemStyle: {
borderColor: t.color,
borderWidth: 2,
shadowColor: t.color,
shadowBlur: t.positioning ? this.sizes[t.positioning] + 2 : 0
}
},
name: t.legend ? t.legend : this.$t(chartData.i18n) || chartData.name,
stack: this.chartData.params.isStack ? 'network.total' : '',