You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "kianj2 (via GitHub)" <gi...@apache.org> on 2024/07/24 20:42:23 UTC
[I] [Bug] Custom series render item return emphasis is not documented [echarts]
kianj2 opened a new issue, #20196:
URL: https://github.com/apache/echarts/issues/20196
### Version
5.5.1
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=custom-profit&lang=ts&code=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrAB4CC1EAziUhVQJ71MtvqNYAnCFmawA2lXSp0M2NACGAWywkA5ACF5A2AGVBwxqsqz0YdiBWxVAIy1HJMgvLDySEkzLEBGAEzlYAOwAusYe4l4AbP6-IQ6yYj5-sF7BoR5iAMwADP4-AByxYeIALHn-EYVhYgCsUckAnEFxsE2yvDLSJgrKagDCAK6MYMCKuvoi9h5mFmoAxoPDipMmAvgEggCSYFiKJABm_dCzkDCwABQgWkqM_vIgEACUyM3oAG5asOwAavIY_VgIWB3CAAOnefywZx8DwA3C9YO9tEMtGBAcCQbNgMABAQzmJ0eD_mcsg9_N9fv8grD4YjYIwIAAvAGIdH0pkAQjx8PQZwJFMhXie8kYcn6imsgieAFpznyIcShSLoGKJQJSdzPj8IfCqUClSrBGIgnCirShuxsGj7iDzdgztT4aswP0BHBOkVppZVKtjssiowABZ3Szuoo0EjIgRgMRZSphz4RlxR7xxsMAdwgBDAAYjjKwMaCsAAVLAsiCAtU0mGA1gIDgA2Bc0yUxr2h4APTtmQ7EBB-miUOyTsmBk-Eg5eHD9BtsK2yxz-GkE0mGfofCY9YseHUNw5ZKp2TsEh-eHDYAYSAgY_NVewJwuNzw7x7yL-DIHzyv5JlZLVD_obwfx8OoYireJgLfJJEn_cQMiSWp_FSJ8ENgCIkhSVoTEw6cqCaJcgA
### Steps to Reproduce
1. Hover "Custom Series" in legend. Notice how custom series overlaps the bar series
2. Uncomment this code in render item return rect
```typescript
// emphasis: {
// z2: 0,
// },
```
3. Hover "Custom Series" in legend. Notice how custom series does not overlap the bar series
### Current Behavior
It is clear that `series-custom.renderItem.return_rect.emphasis.z2` provides a change in behavior. However, this is not explained anywhere in the documentation. In addition, when `z2` is described in the documentation it is not clear to me what it does. The documentation for `series-custom.renderItem.return_rect.z2` is:
> Define the overlap relationship between graphic elements.
It is unclear to me what this means. Perhaps this can be explained more. Overlap between what kinds of graphic elements? If I change the bar graph to a line in the linked example the custom series does not overlap the line series. So it appears that overlapping happens in specific contexts. In addition, does `z2` represent a z index of sorts? And when is `z2` taken into consideration? Only when elements overlap?
### Expected Behavior
`series-custom.renderItem.return_rect.emphasis.z2` is properly documented.
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
`series-custom.renderItem.return_rect.emphasis.z2` ended up being a solution to a problem I was experiencing where adding emphasis on custom series resulted in bar series being covered. This only happened when bar series were placed before custom series in the series list. Because `series-custom.renderItem.return_rect.emphasis.z2` seems to have solved my problems, I wanted to know more about it to make sure it was the right solution.
--
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] [Bug] Custom series render item return emphasis is not documented [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #20196:
URL: https://github.com/apache/echarts/issues/20196#issuecomment-5074569987
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
Re: [I] [Bug] Custom series render item return emphasis is not documented [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #20196: [Bug] Custom series render item return emphasis is not documented
URL: https://github.com/apache/echarts/issues/20196
--
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] [Bug] Custom series render item return emphasis is not documented [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #20196:
URL: https://github.com/apache/echarts/issues/20196#issuecomment-5153486054
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