You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/05/19 04:12:02 UTC
[GitHub] [echarts] halo951 opened a new issue, #17067: [Feature] I think custom chart can add a `LegendVisualProvider` factory
halo951 opened a new issue, #17067:
URL: https://github.com/apache/echarts/issues/17067
### What problem does this feature solve?
碰见一个问题, 在使用 Series.Custom 开发自定义样式的饼图时, 使用Legends组件只能映射到 series.name. 没有映射到 dataset 上面, 考虑到 Custom 图 是为了应对特殊场景下echarts官方提供的Chart无法满足使用的情况, Legends 只映射到Legend可以理解。
但是有一个更好的想法, 在 Custom Chart 的配置项中, 暴露一个`LegendVisualProvider`的接口, 允许引入自定义的LegendVisualProvider实例, 就可以满足 Custom Chart 自定义legend功能.
### What does the proposed API look like?
```typescript
{
series: [
{
type: 'custom',
legendVisualProvider: new LegendVisualProvider(...)
}
]
}
```
--
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] I think custom chart can add a `LegendVisualProvider` factory [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #17067: [Feature] I think custom chart can add a `LegendVisualProvider` factory
URL: https://github.com/apache/echarts/issues/17067
--
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] I think custom chart can add a `LegendVisualProvider` factory [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17067:
URL: https://github.com/apache/echarts/issues/17067#issuecomment-2132395317
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] I think custom chart can add a `LegendVisualProvider` factory [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17067:
URL: https://github.com/apache/echarts/issues/17067#issuecomment-2119002772
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