男女占比图

描述:当前是关于Echarts图表中的 饼图 示例。
 
            let men = 65; // 男生占比
let wom = 35; // 女生占比

option = {
   backgroundColor: "#002b86",
   series: [{
      name: ' ',
      type: 'pie',
      radius: ['60%', '80%'],
      startAngle: 225,
      hoverAnimation: false,
      legendHoverLink: false,
      z: 10,
      labelLine: {
         show: false
      },
      data: [{
         value: 75 * men / 100,
         itemStyle: {
            color: "rgba(155, 221, 255, 1)",
            shadowColor: "#fff",
            shadowBlur: 10
         }
      }, {
         value: 100 - (75 * men / 100),
         itemStyle: {
            color: "rgba(155, 221, 255, 0)"
         }
      }]
   }, {
      name: '出勤率',
      type: 'pie',
      radius: ['60%', '80%'],
      startAngle: 225,
      z: 9,
      hoverAnimation: false,
      legendHoverLink: false,
      silent: true,
      labelLine: {
         show: false
      },
      data: [{
         value: 75,
         itemStyle: {
            color: "rgba(255, 206, 143, 1)",
            shadowColor: "#fff",
            shadowBlur: 10
         }
      }, {
         value: 25,
         itemStyle: {
            color: "rgba(255, 206, 143, 0)",
         }
      }],
   }],
};