需要给雷达图添加边框提示类似于这样
echartsOption : {
title: {
text: "",
},
legend: {
// data: ["BDS", "GPS"],
},
polar: {},
tooltip: {
trigger: "axis",
axisPointer: {
type: "cross",
},
},
angleAxis: {
type: "value",
min: 0,
max: 360,
axisTick: {
show: false,
},
axisLabel: {
show: false,
},
},
radiusAxis: {
type: "value",
min: 90,
max: 0,
splitNumber: 3,
axisLine: {
show: false,
},
axisTick: {
show: false,
},
axisLabel: {
show: false,
},
},
series: [
{
coordinateSystem: "polar",
name: "BDS",
symbolSize: 28,
itemStyle: {
normal: {
color: "rgb(52, 152, 219)",
},
},
label: {
normal: {
show: true,
formatter: "{b}",
position: "inside",
textStyle: {
color: "#fff",
fontSize: 12,
},
},
},
type: "scatter",
data: this.data1,
},
{
coordinateSystem: "polar",
name: "GPS",
symbolSize: 28,
itemStyle: {
normal: {
color: "rgb(26, 187, 156)",
},
},
label: {
normal: {
show: true,
formatter: "{b}",
position: "inside",
textStyle: {
color: "#fff",
fontSize: 12,
},
},
},
type: "scatter",
data: this.data2,
},
],
},
图片上的数字是圆心到半径的长,但是我想显示的是从边上到半径的,就是显示90-现在数字
https://echarts.apache.org/examples/zh/editor.html?c=radar-aqi