You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "gugos (via GitHub)" <gi...@apache.org> on 2023/10/20 06:19:31 UTC
[I] [Bug] Line chart labels disappear on legendToggleSelect if emphasis is set [echarts]
gugos opened a new issue, #19227:
URL: https://github.com/apache/echarts/issues/19227
### Version
5.4.2
### Link to Minimal Reproduction
https://codepen.io/n1b1ru/pen/YzBKxVQ?editors=1111
### Steps to Reproduce
I've implemented custom legend for echarts that dispatches chart actions. It works fine but sometimes it hides line charts labels. To achieve that behavior you must click line1 button then line2 button to hide line charts. Then click them again in any order and at some point one of the lines on chart won't show it's labels.
If emphasis option is removed from chart series then it works.
### Current Behavior
Line chart labels disappear after legend toggle when emphasis is set.
### Expected Behavior
Keep line chart labels after legend toggle when emphasis is set.
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
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] Line chart labels disappear on legendToggleSelect if emphasis is set [echarts]
Posted by "gugos (via GitHub)" <gi...@apache.org>.
gugos closed issue #19227: [Bug] Line chart labels disappear on legendToggleSelect if emphasis is set
URL: https://github.com/apache/echarts/issues/19227
--
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] [echarts]
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #19227:
URL: https://github.com/apache/echarts/issues/19227#issuecomment-1772146366
I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.
--
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] [echarts]
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] closed issue #19227: [Bug]
URL: https://github.com/apache/echarts/issues/19227
--
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] Line chart labels disappear on legendToggleSelect if emphasis is set [echarts]
Posted by "gugos (via GitHub)" <gi...@apache.org>.
gugos commented on issue #19227:
URL: https://github.com/apache/echarts/issues/19227#issuecomment-1776608965
https://stackoverflow.com/questions/77322561/echarts-custom-legend-hides-line-series-labels-when-emphasis-is-applied
As it turns out you must first dispatch downplay before dispatching legendToggleSelect.
I don't know if it is a bug, but one thing I am sure of it is not obvious.
--
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