DMOAbove commented on issue #18241: URL: https://github.com/apache/echarts/issues/18241#issuecomment-1505660284
+1 here. I came here to look for a solution for formatting the legend through the API, but wasnt able to find anything. I was able to make rich text to work under legend though, take a look here @jayarjo https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeBYAULWBjYAbYATgFywDaARAMQAM1AzHQGyPkA0sVtzAnN2x5QAsWAIYAjLAFN-VSQFY6AJjrSAuq3SYAJiLAiAzpLAlUGTLH3AArgSklSm85gpgAniGntyi6gEZFMj6-dIF-gqG-chEs6o5OFABihJL6YPxK1OwMill-WXSCWdzUsWbx5ADKYJIgHvyKPuy-ABw5sL7cvuzKhbCKxaVOzuQAIimSBGlNcpl9St157XK9HSUaZeYUAOpGuCLQWvzczewA7KdNi7zsgiVxsKqOAL7r5riSAOaSByb3TtUADzAVVc71-GyG5hw-GIsAA5JQGHQ4a9IUMAGYwYEQABekhIvkKfzRmOgYB2EA-AAtjPCxHgtCjiZDScC3GD4RA9LgIFgmRC0QB6QWwLSSdEQaCSWAEXlUizslLMoayrBU8FotEiDWa3UAdwgWjA6tgzUyyt1sCpkkpNJIdHNAstmDEIiwAGsPgRrAcAMJ4QgkBGMABCp0UZv5zrR9IIYoIACURFoIFZ9CQiU7ndDA_DKOiC1Ho0MRDyPtAg1IyRMi8W3pLJAAJG3U2kO1F1zCsiq4_HtTN1p4W8wvZWjp3KzEEAC2umqsPRVmgWEgMAAFNARNPJABKZDDzAEIw2OBwpAiAA-cNgAGpYJvt7f4U84QBuWDC2BplIyuUK0HSgaxrwiI16pABsDupIrhjh2Qz3OOmAAgAggCEDpvuGxuB4JDkKI1QfIQrhsPcIhofoAAqvLujqTj6FSwB6iQ6KloYCHPKirioehJiIRYEwQCk9imP87h9uQroECRGyGLKKQADIiK41hgCGri4d6erkBxmGiThHCSdJdECQpSkqWpGmMdpZgvLp5jYeJhlwbJgn6IpylWKp6kcJp1mYLZIn2WJuFOfcLmmR5XmWVpzyPGgTxAA&_sou rce=echarts-doc-preview But still there is no way as far I could see to have different colors and sizes on the borders, because "borderWidth" and "borderColor" doesn't support arrays to make it fully custom regarding top, bottom, right and left. I wanted to have this legend style so everyone can have an idea:  -- 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]
