解决方法:
初始化图表时传入'ZH'(中文)'EN'(英文)
const locale = 'EN'
initChart() {
this.chart = echarts.init(this.$refs.chart, null, {
locale: locale ,
});
this.setOptions();
},
解决方法:
初始化图表时传入'ZH'(中文)'EN'(英文)
const locale = 'EN'
initChart() {
this.chart = echarts.init(this.$refs.chart, null, {
locale: locale ,
});
this.setOptions();
},