4-调整图例和图标之间的距离
通过如下参数控制
legend: { orient: 'vertical', left: 'left', padding:[0,0,100,0], //可设定图例[距上方距离,距右方距离,距下方距离,距左方距离] data: this.chartLegendData }, grid: { top: '20%', left: '0%', right: '6%', bottom: '3%', containLabel: true },
legend的意思是图例
grid的意思是网格即图标
做有积累的事~~

浙公网安备 33010602011771号