echarts点击触发的事件
1.点击legend触发的事件
myChart3.off('legendselectchanged')
//解决重复触发
myChart1.off('legendselectchanged') //解决重复触发
myChart1.on("legendselectchanged", (params) =>{
console.log("params", params.name);
this.dialogVisible = true;
});
2.点击柱状图出发的事件
myChart3.off('click')
//解决重复触发
myChart3.off('click')
myChart3.on("click", (params) => {
console.log("paramsparamsparamsparamsparams",params,params.name);
this.dialogVisible = true;
});
3.改变csdn字体设计
<font face="微软雅黑">我是微软雅黑</font>
<font face="STCAIYUN">我是华文彩云</font>
<font color=#009911 size=7 face="黑体">color=#009911 size=7 face="黑体"</font>
<font color=gray size=72>color=gray</font>
我是微软雅黑
我是华文彩云
color=#009911 size=7 face=“黑体”
color=gray