echarts图形的位置布局如何调整

版权声明:本文为章鱼哥原创文章,若要转载,请注明出处 https://blog.csdn.net/qq_40388552/article/details/85066103
我们一般使用grid来进行调整

grid: [{
       left: '10%',
       bottom: '10%',
       top: '10%',
       right: '10%'
   }],

饼图调整方式

radius : [ '30%', '50%' ],//内外圆的大小
center : [ '45%', '60%' ],//距离左右,上下距离的百分比

map地图调整方式

layoutCenter: ['48%', '50%'],//距离左右,上下距离的百分比
layoutSize:'145%',//map百分比大小

猜你喜欢

转载自blog.csdn.net/qq_40388552/article/details/85066103