/* | |
title: Gauge Basic chart | |
titleCN: 基础仪表盘 | |
category: gauge | |
difficulty: 1 | |
*/ | |
option = { | |
tooltip: { | |
formatter: '{a} <br/>{b} : {c}%' | |
}, | |
series: [{ | |
name: 'Pressure', | |
type: 'gauge', | |
detail: { | |
formatter: '{value}' | |
}, | |
data: [{ | |
value: 50, | |
name: 'SCORE' | |
}] | |
}] | |
}; |