基础仪表盘echarts gauge配置项内容和展示

仅供参考

配置项如下
      option = {
    title: {
        text: '基础仪表盘',
        textStyle: {
            color: 'red',
            fontWeight: 'bold'
        },
        subtext: '仅供参考',
        subtextStyle: {
            color: '#aaa',
            fontStyle: 'italic'
        },
        left: 'center',
    },
    series: [{
        type: 'gauge',
        data: [{
            name: '速度',
            value: 70
        }]
    }]
};
    
截图如下