echarts设置指定legend不可置灰

   this.chartLine = echarts.init(this.$refs.chart)
   this.chartLine.on("legendselectchanged", () => {
    
    
     this.options.legend.selected["指定data"] = true;
     this.chartLine.setOption(this.options);
   });

猜你喜欢

转载自blog.csdn.net/qq_42611074/article/details/132068828