highchart配置出仪表盘
chart: {
type: 'gauge',
plotBackgroundColor: null,
plotBackgroundImage: null,
plotBorderWidth: 0,
plotShadow: false,
},
title: null,
credits: {
enabled: false,
},
pane: {
center: ['50%', '65%'],
size: '150%',
startAngle: -130,
endAngle: 130,
background: {
backgroundColor: 'transparent',
borderColor: 'transparent',
innerRadius: '85%',
outerRadius: '90%',
shape: 'arc',
},
},
yAxis: [
{
min: 0,
max: 100,
labels: {
enabled: false,
},
tickWidth: 0,
gridLineWidth: 0,
minorTickWidth: 0,
lineWidth: 0,
plotBands: [
{
from: 0,
to: 30,
thickness: '20%',
color: {
linearGradient: [0, 120,