CN-1119 fix: NPM页面地理位置模块对应的吞吐量趋势图,鼠标悬浮在趋势图上与鼠标未悬浮时的趋势图不一致
This commit is contained in:
@@ -93,7 +93,8 @@ export default {
|
|||||||
country: this.$store.state.panel.npmLocationCountry,
|
country: this.$store.state.panel.npmLocationCountry,
|
||||||
// province: '',
|
// province: '',
|
||||||
showError: false,
|
showError: false,
|
||||||
errorMsg: ''
|
errorMsg: '',
|
||||||
|
sizes: [3, 4, 6, 8, 9, 10]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -185,7 +186,12 @@ export default {
|
|||||||
smooth: true,
|
smooth: true,
|
||||||
showSymbol: false,
|
showSymbol: false,
|
||||||
emphasis: {
|
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,
|
name: t.legend ? t.legend : this.$t(chartData.i18n) || chartData.name,
|
||||||
stack: this.chartData.params.isStack ? 'network.total' : '',
|
stack: this.chartData.params.isStack ? 'network.total' : '',
|
||||||
|
|||||||
Reference in New Issue
Block a user