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/07/11 16:12:54 UTC

[GitHub] [echarts] Raphyyy opened a new issue, #17357: [Feature] Disable emphasis state but enable on legend hover

Raphyyy opened a new issue, #17357:
URL: https://github.com/apache/echarts/issues/17357

   ### What problem does this feature solve?
   
   The option `series-line.emphasis.disabled` has been added to solve this issue I opened : https://github.com/apache/echarts/issues/14952
   I am still using the zIndex trick (https://jsfiddle.net/45scamx3/) to disable emphasis state on series hover because I want to enable emphasis when the user is hovering the legends. 
   However, this workaround is throwing z-level warn and is causing other issue relative to series zIndex.
   I also have to catch the event `highlight` to enable or disable emphasis state depending on the event has been triggered either by chart hovering or legend hovering.
   
   I am looking for an option to disable emphasis state on chart hovering but enable it on legend hovering.
   
   ### What does the proposed API look like?
   
   An option `series-line.emphasis.triggerOn` which could have the value `all`, `legend` or `series`.


-- 
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


[GitHub] [echarts] Ovilia commented on issue #17357: [Feature] Disable emphasis state but enable it on legend hovering

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #17357:
URL: https://github.com/apache/echarts/issues/17357#issuecomment-1181605760

   Hi. Can you further explain why you wish to disable emphasis state but enable it on legend hovering? 


-- 
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


[GitHub] [echarts] Raphyyy commented on issue #17357: [Feature] Disable emphasis state but enable it on legend hovering

Posted by GitBox <gi...@apache.org>.
Raphyyy commented on issue #17357:
URL: https://github.com/apache/echarts/issues/17357#issuecomment-1181730908

   Hi,
   I have multiple sensors emitting data on different timestamp. So the emphasis state when you are hovering the series produce a undesired flicking effect, see https://github.com/apache/echarts/issues/14952#issuecomment-842117188
   
   However, be able to highlight only the serie when its legend is hovered by the user is a must feature for me, as my users have multiple sensors and they are actively using this to focus on one sensor's data.


-- 
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


[GitHub] [echarts] Eskimo111 commented on issue #17357: [Feature] Disable emphasis state but enable it on legend hovering

Posted by "Eskimo111 (via GitHub)" <gi...@apache.org>.
Eskimo111 commented on issue #17357:
URL: https://github.com/apache/echarts/issues/17357#issuecomment-1545495456

   I have the exact same problem, please consider this


-- 
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


[GitHub] [echarts] Raphyyy commented on issue #17357: [Feature] Disable emphasis state but enable it on legend hovering

Posted by GitBox <gi...@apache.org>.
Raphyyy commented on issue #17357:
URL: https://github.com/apache/echarts/issues/17357#issuecomment-1183074502

   Edit: Also, the emphasis state set with series-line.emphasis.focus = "series" (to allow the legend hovering) is simply unsuitable for line series charts with multiples series emiting with data at the same time. If you have tooltip set with tooltip.trigger = "axis" like I do, you don't want your series to be highlighted when you are hovering the chart.


-- 
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] Disable emphasis state but enable it on legend hovering [echarts]

Posted by "Pashted (via GitHub)" <gi...@apache.org>.
Pashted commented on issue #17357:
URL: https://github.com/apache/echarts/issues/17357#issuecomment-1866366935

   you can see proper hovering effect in another charts library amcharts5. in [that example](https://jsfiddle.net/api/post/library/pure/) i feel much more comfortable data investigating process with my mouse.


-- 
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