HxinY499 opened a new issue, #19718:
URL: https://github.com/apache/echarts/issues/19718
### What problem does this feature solve?
-
我尝试将theme和dataset这两个特性结合使用,dataset里定义规定好的属性,在主题的某些组件的formatter使用,达到样式个性化又方便扩展的目的,这个方式在tooltip里奏效了,它的formatter可以接受到了dataset相关的属性,但是legend.formatter接收的参数只有name,无法扩展。
### What does the proposed API look like?
```javascript
{
legend: {
formatter: (params) => params.data.xxx
}
}
```
--
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]