jiawulin001 commented on issue #16761:
URL: https://github.com/apache/echarts/issues/16761#issuecomment-1086593642


   `padding` is used to adjust the distance from text to the bounding box of 
the text (which is by default invisible). If you set `legend` as:
   ```
   legend: {
       backgroundColor: 'rgba(0,0,0,0.1)',
       padding:[0,10,0,0],
       width:20
     },
   ```
   and adjust `padding`, you will see differences at the end of the color bar.
   If you are looking for a way to adjust the distance between each item 
legend, `legend.itemGap` will do the job.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to