How to adjust the distance between the left and right sides of the echarts pie chart?

background: as shown in figure

question: grid can adjust the distance between the axis and the edge. What attributes can be used to adjust the margin of the pie chart without the axis?

Mar.25,2021

modify the center point of the pie chart
http://echarts.baidu.com/opti.


the percentage of the pie chart in the box is 100%. Then adjust the box size to solve


first: look at the percentage of your pie chart (that is, the percentage of the div box)
second: the div you set yourself can adjust the distance to the top through margin



this requires you to adjust the size of the box

.
Menu