渐变仪表盘

描述:当前是关于Echarts图表中的 仪表盘 示例。
 
            option= {
        series: [{
            type: "gauge",
            radius: 100,
            detail: {
                formatter: "{value}%",
                show: true,
                offsetCenter: [0, 0],
                fontWeight: "bold",
                fontSize: 18,
                color: "#f39a04"
            },
            data: [{
                value: 59.66,
            }],
            axisLine: {
                show: true,
                lineStyle: {
                    width: 20,
                    color: [[1, '#33333333']]
                }
            },
            progress: {
                show: true,
                width: 20,
                itemStyle: {
                    color: {
                        // type: 'linear',
                        colorStops: [
                            {
                                offset: 0,
                                color: '#f39a0459' // 0% 处的颜色
                            },
                            {
                                offset: 1,
                                color: '#f39a04' // 100% 处的颜色
                            }
                        ],
                        global: false // 缺省为 false
                    }
                }
            },
            splitLine: {
                show: false
            },
            axisTick: {
                show: false
            },
            axisLabel: {
                show: false
            },
            pointer: {
                show: false
            }
        }]
    }