{b} : {c} ({d}%)"},series:[{name:"分类",type:"pie",radius:"50%",color:["#6772e5","#ff9e0f","#fa755a","#3ecf8e","#82d3f4","#ab47bc","#525f7f","#f51c47","#26A69A"],data:[{name:"Blog",value:47},{name:"法学",value:25},{name:"精彩分享",value:10}],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:["macOS","APP","Homebrew","交通事故","湖北省","iOS","劳动法","刑法","著作权","赔偿标准"]}],yAxis:[{type:"value"}],series:[{type:"bar",color:["#82d3f4"],barWidth:18,data:[11,10,6,5,5,5,5,5,5,4],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)