echarts这些数字可以引用别的外部字体吗
配置项如下
option = {
"series": [{
"type": "gauge",
"startAngle": 200,
'endAngle': -20,
"axisLine": {
"lineStyle": {
"color": [
[0.31, "#ce4a31"],
[1, "#4496c8"]
],
"width": 10
}
},
"axisTick": {
show: false,
},
"axisLabel": {
show: false,
},
"splitLine": {
"show": false
},
"itemStyle": {
"normal": {
"color": "#ce4a31"
}
},
'pointer': {
'show': true,
'width': 4
},
"detail": {
"formatter": "{value}",
"offsetCenter": [0, "42%"],
"textStyle": {
"fontSize": 12,
"color": "#fff",
},
'backgroundColor': '#000',
'borderRadius': 2,
},
"title": {
"offsetCenter": [0, "90%"],
},
"data": [{
"name": "点检报警",
"value": 31,
}]
},
{
name: '点检异常',
type: 'gauge',
splitNumber: 2, //刻度数量
min: 0,
max: 500,
radius: '85%', //图表尺寸
startAngle: '200',
endAngle: '-20',
axisLine: {
show: true,
lineStyle: {
width: 1,
shadowBlur: 0,
color: [
[1, '#ccc']
]
}
},
axisTick: {
show: false,
},
splitLine: {
show: true,
length: 6,
lineStyle: {
color: '#ccc'
}
},
axisLabel: {
distance: -30,
textStyle: {
color: "#666",
fontSize: "12",
},
},
pointer: {
show: false,
},
detail: {
show: 0,
},
title: {
textStyle: {
fontSize: 60,
fontWeight: 'bolder',
fontStyle: 'normal',
color: "#C7FBFC"
},
offsetCenter: [0, 14]
},
data: [{
name: " ",
value: Math.floor(60)
}]
}
]
};