如圖,藍(lán)色背景是容器,但是echarts圖上下左右還有很多空間.導(dǎo)致顯示不夠.怎么鋪滿一點(diǎn)?tooltip: { formatter: "{a} <br/> : {c}%"},grid: { top: 0, bottom: 0},toolbox: { show: false},pointer: { length: '10%', width: 4, color: 'auto'},series: [{ name: '總數(shù)', type: 'gauge', max: 100, detail: { formatter: '{value}', offsetCenter: [0, '10%'], textStyle: { color: 'auto', fontSize: 12 } }, data: [{ value: 50, name: '總數(shù)' }]}]
echarts 圖形占滿整個(gè)容器
慕虎7371278
2018-11-13 17:15:29