option = { series: [ { name: '内层数据刻度', type: 'gauge', radius: '80%', center: ['50%', '50%'], axisLine: { lineStyle: { width: 30, color: [ [1,new echarts.graphic.LinearGradient( 0, 0, 1, 0, [ { offset: 0, color: '#00E095', }, { offset: 1, color:'#1A90FE', } ] )] ], } }, splitLine: { length: 25, lineStyle: { width: 5, color: '#ffffff' } }, axisTick: { lineStyle: { width: 2, color: '#ffffff' } }, axisLabel: { color: 'rgb(0,191,255)', distance: 20, fontSize: 13, }, title: { //标题 show: true, offsetCenter: [0, 84], // x, y,单位px textStyle: { color: "red", fontSize: 14, //表盘上的标题文字大小 } }, detail: { show: true, offsetCenter: ['0','90%'], fontSize: 20, color: '#26C0C8' }, itemStyle: { normal: { color: '#0EB6CC' } }, pointer: { width: 12, length: '95%' }, data: [{ name: "title", value: 13 }], silent: false }, ] };