{b} : {c} ({d}%)"},series:[{name:"分类",type:"pie",radius:"50%",color:["#6772e5","#ff9e0f","#fa755a","#3ecf8e","#82d3f4","#ab47bc","#525f7f","#f51c47","#26A69A"],data:[{name:"总结",value:101},{name:"说说",value:49},{name:"题目",value:198},{name:"资料",value:13},{name:"社会学",value:18}],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:["动态规划","思维","数学","观察+分析","模板","最短路算法","贪心","数学推理","二分答案","树状数组"]}],yAxis:[{type:"value"}],series:[{type:"bar",color:["#82d3f4"],barWidth:18,data:[59,28,19,16,16,10,10,9,9,8],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)