oo10 commented on issue #19692: URL: https://github.com/apache/echarts/issues/19692#issuecomment-1985535457
> I think it has to do with the auto positioning of the legend. If you specify the position, eg. `left: 0` the padding takes effect. > > [Example](https://echarts.apache.org/examples/en/editor.html?c=bar-stack&code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMmuhgE4QDmFApqYQOQCGAHhAM70A0x6L7ACsAjQwtQqhIkwATxDUGbABaMAJsADu9HrAC-xHd3TZqNaCvHGAZmEIAGTrBCqVwioQDa92ACZbX27AOAIx-ALoGxBTk5kSSVjaw9ADMAKRc2uQUign0ACxphiQARsBgmAC2DKnpkgDGMGCMwgAyjEXU2IRgpACu1PqFzACCrGwe2hKSGLLyibWMohTApNI1UyoLjB70ALIwXIkAKn0H9ADq1Cqnh4o9pwBi5KcAygsvPdD0odp66KGF0hG7HGkkmkhkcgYADdGNgTj9iP9iGxaBBqGNYO4Jtp0NBGOVZvQACIQUjUWpgNbgmYMIqMUhUkjUcogZRsYGxKboSzAWo9DH0FHkdFaLkRLkbRoeJK-BxJGVy2xBOVJXJygCcXnlWt830k4pIYJIeIJDAAouUmthGegIYS6QzCpI2I1agBrBhDK5Opkstkco2SHl8gVCtEcHG6H3oSVbTFBWWwIIKpNK4KqhyahzeJJebwhPUkA3oQOwE2EgCq0CgcC9HGj00hiQdNtgLsY7s93sjzNZjHZGNL3N5_IUqJFkeLJFjHm8iaCAA5vMF1cqfBmfFnYNq5QWfj7S-WGAA1CAqajAWB11t22n01vtzuJL2t3v-weR4chsfCiNihszvGACseYpr4a5BEBapJluO6wLke76gekZHokzzUPStSKLAZrQBQwjUDeNLNveAGbB4C4AGzLqmi6ZpR0EhN4lHBJRADs6qsX4wRAWxthIlyb79gGn6wMGo6JGGE7_pGlqkG6zQEeIonYARzwyMYylctSTb0BsSiXKK2lTpIgHuO4SCNoS5TCPQUbIFZDCWswdk6KEhb6vu2Jcqh9AAEJNCodwNreJG OpGDpnGeYCKIQQENo-HpoRhpBYTheEEa-frCR-2liSOobjn-UwmbAZnUV4bEpnxa5VYxthbkEyZeE1upeaCKH4oSADiWAUMYRG6S2CWukl9DoZh2G4fh0CEQ2QkDlp2niYVv5GUhkZmQmLUpiEEEbt4W45nmbUbR1PldQwfmuIN9qkZGiUMBNqVTRls1ZX2i2clyK0_uG61FmRUqYpRlU0WxtWMY1ubBIhgPeVMvkAPIxbQ9aRqF9DDQ9o1PSlaXTZl83ZV9Q75d-klFQD6CleVNFLpma4LvVnFJiEwSnUWiIoDoADcQA) Thanks for your suggestion. But I don't think it will achieve my goal. When the quantity is sufficient to fill the width, it is ok, When there is only one legend, he cannot center. I hope to increase the different padding on the left and right sides on the basis of centering.  -- 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]
