这里我把指针改为扇形图,如下
主要是通过如下代码实现自定义形状的指针:
var option = {
series: [
{
pointer: {
icon: 'image://data:image/png;base64,iVBORw0KGgoAAAANSU...',
},
}
]
};
完整代码如下:
var chartDom = document.getElementById('myChart');
var myChart = echarts.init(chartDom);
var option = {
animation: false, // 禁用加载动画
title: {
show: true,
text: '车方向: ' + this.carDirection + '°' + '\n' + '波束方向:' + this.beamDirection + '°',
textStyle: {
color: '#fff',
fontWeight: 100,
lineHeight: 30,
},
bottom: 20,
backgroundColor: 'rgba(128, 128, 128, 0.5)',
},
series: [
{
name: '方向表',
type: 'gauge',
detail: {
formatter: '{value}°'
},
pointer: {
icon: 'image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsAgMAAAAEE2bmAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJUExURUdwTD3C0gGtwt4G3EYAAAACdFJOUwCLDPmXkAAAA8dJREFUeNrtm7uR3DAQREEaMOhLBiJQIQqGIEfKQRsFQ1jj5MOgqriIUqvb++0dCcwMnkoy0AF04fC6j/itc11dXV1dXV1dXV0Sffuer7r8/Nrs9Cm/qs1tyHe6QINqHNrnnCmzkPd0pkZlHJnPR5obCbaYDaeC1y9i3p/1wEzWTQszWdoChJpXXqm/UMPyJPASspyyRGdk4hXTH2RekoEJh3UVN6ycEzesei6Cwitxw6rNWFB5lVGqrMoZm3RexYGdMjYwn7VasGHlvDGBKOc1GLxWJBDFvHqT1xma+cPZH7NNCzTzR7N/MnpdqJnfn/1g9tqYcB1EjPSK4N9on6+1+V9q6XNEZmI0ey2OA/l3O2QOxQZ8G0urCo9hZP8XDkavGfsMHXyIIobR2u4VWTCVFprkt3bgMKLrCVO7j1aGEYuEDWRy3KLpaCU9Qs2m16uOi4QF5AbtrMrnFBMWCQvIxXEbj5naPpZ3tuCeTx2KDdzXJsdtRkt75BGLhD4Us8NAls+tIoZR2+4VON+THQ6NGEYtyMoBGHhmpQpF7SgzYhh1IGuHjx5qtjYU1VN8DqMGZP1EOkLN1rW7frcwYZHQgKxfxgxUs1WhgG5OpJcUAcMoB5kEXh5qtiYUovs5DqMUpOyqL0LNlodCdmvoMYxSkLJr1oFqtjgUwnvRiGGUgZRe/k5Qs6WhkD59GLFIyECK791PULNlodjEXgGLhASk/AXLyGEUtFvx5ISLRB3kpvAKGMZ6u5PCy2ORqIdC8aamClL1bugENbseik3lNWEYayB1b9NGDmOl3crHZBzGMshN6RWgZtdCkZReHsOIvgksgtRaFdqtf3kasUiUQCa1l4eaXW73ovYauEgcg7Q8II4YxuN2rwavCYvEMcjF4DVwGA/bbbE6CIXtTXnEInEEMpm8PNTs41AsJi/HYdwHaf1pQMQw7rd7NXpNWCT2QRox7rZ7Nno5LhJ7IC+g12r2mjCMe+0+m71GLBJ7IO1WH9rd8qOfCDV7r91rg9eEYfwIsgHjh3bPDV6Oi8R7kFuTV8AwvgeZmrw8Fon3oViavByH8b7dl0aviEXiHmT6j7xGDuNdu+dGL8dF4i3IrdkrQM2+B5mavTzU7HuQzRjfgGy3emn3BfCKWCReQa6Al8cwvrZ7AbwGLhIvoSCsnkBuiFfAMD6HIiFeHovEM0gE4xNIxuqx3RfIK2KRuIFMkJfHMN7avUBeAxeJx1BQVleQG+YVoGbfQpEwrxHD+AckhvEKkrNyP0CvL66rq6urq6urq6vrX+g3QQ7YYw8YDCwAAAAASUVORK5CYII=',
width: 80,
length: '80%',
offsetCenter: [0, 0]
},
startAngle: 90,
splitNumber: 8,
endAngle: 450,
min: 0,
max: 360,
axisLabel: {
color: 'auto', //auto就是和所在区域的颜色保持一致
fontSize: 20,
distance: -50,
formatter: function (value) {
if (value === 0) {
return '北';
}
else if (value === 45) {
return '东北';
}
else if (value === 90) {
return '东';
}
else if (value === 135) {
return '东南';
}
else if (value === 180) {
return '南';
}
else if (value === 225) {
return '西南';
}
else if (value === 270) {
return '西';
}
else if (value === 315) {
return '西北';
}
}
},
data: [
{
value: this.beamDirection,
// name: '波束方向',
detail: {
show: false,
}
},
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/ocKiBtTgVg9rF2nUZOPY64jyvyrJU+5B3jkE+/qo4jaHnAPdKSJfKO2IHvY3RmcoyH5WFQfq0snibzWs8JefKd6TOR+jSjcn0FSp3OAbwa7E+SVjEvcInWYPN5jtpnb7oTpC69LVEbMQtcSX+RFkHXpoSESQqiKTwuYSPHEGdotR34bi8Xp8w7FC+2Dhjiapqz6Zzl87D+AOktThfz04/5msoYIlncNSWbmdU5GFa1+frb4GVeKmCAbgpDqyqwD254urkM/h+SkNcSbweeS+EgJ/OZ99izOer9UGsVqvZFFNMMcUUU0wxxRRTTDHFFFNMMcUX4zPck2hihYOwrAAAAABJRU5ErkJggg==',
symbolSize: 100,
symbolRotate: this.carDirection, //车旋转
data: [
//跟你的仪表盘的中心位置对应上,颜色可以和画板底色一样
{ value: '', x: 'center', y: 'center', itemStyle: { color: '#90CBFB' } }
],
itemStyle: {
normal: {
label: {
show: true,
color: '#FFF',//气泡中字体颜色
fontSize: 60
}
}
},
},
},
]
};
myChart.setOption(option)