You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "jayarjo (via GitHub)" <gi...@apache.org> on 2023/02/04 10:04:13 UTC
[GitHub] [echarts] jayarjo opened a new issue, #18241: [Feature] add formatter with support for rich styling to legend
jayarjo opened a new issue, #18241:
URL: https://github.com/apache/echarts/issues/18241
### What problem does this feature solve?
Adds support for sophisticated legends.
### What does the proposed API look like?
Add `formatter` to legend, with styling through `rich` property, just like you have it for `label` in this [example](https://echarts.apache.org/examples/en/editor.html?c=pie-rich-text)?
--
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: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] add formatter with support for rich styling to legend [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #18241: [Feature] add formatter with support for rich styling to legend
URL: https://github.com/apache/echarts/issues/18241
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] DMOAbove commented on issue #18241: [Feature] add formatter with support for rich styling to legend
Posted by "DMOAbove (via GitHub)" <gi...@apache.org>.
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] add formatter with support for rich styling to legend [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18241:
URL: https://github.com/apache/echarts/issues/18241#issuecomment-2816866212
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] add formatter with support for rich styling to legend [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18241:
URL: https://github.com/apache/echarts/issues/18241#issuecomment-2798009368
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org