sjcobb opened a new issue, #21000: URL: https://github.com/apache/echarts/issues/21000
### What problem does this feature solve? Currently, `triggerLineEvent` is very useful but there are cases where you only want to trigger the event when hovering on the actual line not the area under the curve. This comes up in cases where there are overlapping series with areaStyle set (ex: you want to hover only on the line and have the event trigger for the series you're closest to, disregarding whether it is plotted on top). A workaround for overlapping series is to use zlevel but ideally, we'd have more control over the event. https://github.com/user-attachments/assets/6c63496b-bc07-4217-a7e3-7c4629dd32fe ### What does the proposed API look like? Add a new `triggerAreaEvent` option to line series, when it is false (and triggerLineEvent is true), only hovering on the actual line will trigger the mouse event. -- 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]
