官网 http://justgage.com/
导包
<script src="/content/js/justgage.js"></script>
修改value
gauge.refresh(60);
初始化仪表盘
// 仪表盘
var gauge = new JustGage({
id: 'gauge',
value: 65,
min: 0,
max: 100,
symbol: '%',
pointer: true,
gaugeWidthScale: 0.6,
valueFontColor: '#ffffff',
customSectors: [{
color: '#0EFCFF',
lo: 50,
hi: 100
}, {
color: '#00ff00',
lo: 0,
hi: 50
}],
counter: true
});