饼图

描述:当前是关于Echarts图表中的 饼图 示例。
 
            option = option = {

  series: [
    {
      name: 'Access From',
      type: 'pie',
      radius: '50%',
      center: ['50%', '50%'],
      data: [
        { value: 1048, name: '金钱豹' },
        { value: 735, name: '大花猫' },
        { value: 580, name: '赤狐' },
        { value: 484, name: '羚羊' },
        { value: 300, name: '野猫' }
      ],
      emphasis: {
        itemStyle: {
          shadowBlur: 10,
          shadowOffsetX: 0,
          shadowColor: 'rgba(0, 0, 0, 0.5)'
        }
      },
      labelLine: {
        normal: {
          length: 14,
          length2: 50,
          lineStyle: {
            width: 1
          }
        }
      },
    }
  ]
}