diff --git a/src/views/charts2/charts/npm/NpmTrafficLine.vue b/src/views/charts2/charts/npm/NpmTrafficLine.vue index 2f035943..6b3b90dd 100644 --- a/src/views/charts2/charts/npm/NpmTrafficLine.vue +++ b/src/views/charts2/charts/npm/NpmTrafficLine.vue @@ -533,7 +533,7 @@ export default { color: chartColor3[t.positioning], width: 1 }, - stack: t.name !== 'network.total' ? 'network.total' : '', + stack: t.name !== this.$t('network.total') ? this.$t('network.total') : '', areaStyle: { opacity: 0.1, color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [