Closed tmalaher closed 3 years ago
Currently only color and symbol will be reflected in the legend.
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 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!
General Questions
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
When overriding the itemStyle in a data series, the legend does not respect the opacity setting.
Expected Behavior
Setting the data[n].itemStyle.opacity should affect both the plot area and the legend.
Current Behavior
Setting the itemStyle.color and opacity results in the legend showing a fully opaque item of the correct color. The opacity is ignored.
Online Example
Using 4.1.0 (only one I could get a link to from jsfiddle): http://jsfiddle.net/yL64mkn0/
Full code:
Topics
Anything Else We Need to Know
N/A
Environment
ECharts version 4.2.0-rc2;ECharts 版本: {DESCRIBE_HERE}
[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}