仪表盘 5.0以上

描述:当前是关于Echarts图表中的 仪表盘 示例。
 
            option = {
  series: [
    {
      type: 'gauge',
      progress: {
        show: true,
        width: 18,
        roundCap: true
      },
      axisLine: {
        lineStyle: {
          width: 18
        },
        roundCap: true
      },
      axisTick: {
        show: true,
        distance: -25,
        length: 5,
        splitNumber:3
      },
      splitLine: {
        show:false,
        length: 10,
        distance: -30,
        lineStyle: {
          width: 2,
          color: '#999'
        }
      },
      axisLabel: {
        distance: -25,
        color: '#999',
        fontSize: 20
      },
      anchor: {
        show: false,
        showAbove: true,
        size: 25,
        itemStyle: {
          borderWidth: 10
        }
      },
      title: {
        show: true,
        offsetCenter: ['0', '55%'],
        fontSize: 50
      },
      pointer: {
        show: false
      },
      detail: {
        valueAnimation: true,
        formatter: '{value}%',
        fontSize: 80,
        offsetCenter: [0, '10%']
      },
      data: [
        {
          value: 70,
          name: '完成率'
        }
      ]
    }
  ]
};