{b} : {c} ({d}%)"},series:[{name:"分类",type:"pie",radius:"50%",color:["#6772e5","#ff9e0f","#fa755a","#3ecf8e","#82d3f4","#ab47bc","#525f7f","#f51c47","#26A69A"],data:[{name:"Linux",value:22},{name:"CentOS",value:6},{name:"Git",value:10},{name:"Docker",value:11},{name:"抓包工具",value:2},{name:"分布式系统",value:1},{name:"ElasticSearch",value:5},{name:"微服务",value:3},{name:"Go",value:45},{name:"Python",value:8},{name:"PHP",value:32},{name:"macOS",value:2},{name:"生活",value:2},{name:"MySQL",value:6},{name:"NPM",value:1},{name:"服务器",value:3},{name:"Ngrok",value:1},{name:"Redis",value:12},{name:"Shell",value:11},{name:"科普",value:6},{name:"Ubuntu",value:3},{name:"开源",value:6},{name:"Cache",value:6},{name:"Nginx",value:2},{name:"RPC",value:2},{name:"算法",value:4},{name:"AI",value:1},{name:"前端",value:1},{name:"Pay",value:2}],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","Go","Golang","PHP","CentOS","Docker","Redis","Cache","缓存","Shell"]}],yAxis:[{type:"value"}],series:[{type:"bar",color:["#82d3f4"],barWidth:18,data:[46,46,44,32,16,15,15,15,15,12],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)