export default {
  grid: {
    left: '20',
    right: '10',
    bottom: '2',
    top: '20',
    containLabel: true
  },
  title: {
    text: '面料（米）',
    bottom: '10px',
    left: 'center',
    textStyle: {
      fontSize: 20,
      color: '#A48463',
      fontFamily: 'myFont',
      fontWeight: 400
    }
  },
  tooltip: {
    trigger: 'axis'
  },
  radar: [{
    triggerEvent: true,
    shape: 'circle',
    center: ['50%', '50%'],
    radius: '55%',
    splitNumber: 4,
    nameGap: 35,
    name: {
      textStyle: {
        fontFamily: 'myFont',
        color: '#A48463',
        fontSize: '20'
      }
    },
    label: { // 坐标轴文本标签，详见axis.axisLabel
      show: true,
      textStyle: {
        color: '#FFC774' // 坐标轴刻度文字的样式
      }
    },
    splitArea: {
      show: false,
      areaStyle: {
        color: 'rgba(167,134,99,0.9)' // 图表背景网格的颜色
      }
    },
    splitLine: {
      show: true,
      lineStyle: {
        width: 1,
        color: '#A48463' // 图表背景网格线的颜色
      }
    },
    indicator: [{
      text: '来料',
      max: 10000
    },
    {
      text: '裁剪入库',
      max: 10000
    },
    {
      text: '裁剪下线',
      max: 10000
    },
    {
      text: '已裁',
      max: 10000
    },
    {
      text: '已领',
      max: 10000
    }
    ]
  }],
  calculable: true,
  series: [{
    name: '雷达图',
    type: 'radar',
    data: [],
    itemStyle: {
      normal: {
        lineStyle: {
          width: 1,
          color: '#FFC774' // 图表中各个图区域的边框线颜色
        },
        areaStyle: {
          type: 'default',
          color: '#6495ED',
          opacity: 0.4
        }
      }
    },
    label: {
      normal: {
        show: true,
        position: 'outer',
        textStyle: {
          color: '#6495ED',
          fontSize: 18
        }
      }
    }
  }]
}
