{b} : {c} ({d}%)"},series:[{name:"分类",type:"pie",radius:"50%",color:["#6772e5","#ff9e0f","#fa755a","#3ecf8e","#82d3f4","#ab47bc","#525f7f","#f51c47","#26A69A"],data:[{name:"Redis",value:1},{name:"消息队列",value:1},{name:"Docker",value:2},{name:"Linux",value:4},{name:"其他",value:5}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},tagsOption={title:{text:"TOP10 标签统计图",top:-5,x:"center"},tooltip:{},xAxis:[{type:"category",data:["Linux","其他","日常","Docker","CentOS","Redis","Mq","nginx","Git"]}],yAxis:[{type:"value"}],series:[{type:"bar",color:["#82d3f4"],barWidth:18,data:[6,4,4,3,3,1,1,1,1],markPoint:{symbolSize:45,data:[{type:"max",itemStyle:{color:["#3ecf8e"]},name:"最大值"},{type:"min",itemStyle:{color:["#fa755a"]},name:"最小值"}]},markLine:{itemStyle:{color:["#ab47bc"]},data:[{type:"average",name:"平均值"}]}}]};postsChart.setOption(postsOption),categoriesChart.setOption(categoriesOption),tagsChart.setOption(tagsOption)