Ovilia commented on code in PR #21001:
URL: https://github.com/apache/echarts/pull/21001#discussion_r2149128348


##########
src/chart/line/LineSeries.ts:
##########
@@ -213,7 +215,11 @@ class LineSeriesModel extends 
SeriesModel<LineSeriesOption> {
             divideShape: 'clone'
         },
 
-        triggerLineEvent: false
+        // Whether to trigger event when hovering on either line or area.
+        triggerLineEvent: false,
+
+        // Whether to trigger event when hovering only on line.
+        triggerLineOnlyEvent: false

Review Comment:
   I agree that `triggerEvent` is a better idea than `triggerLineOnlyEvent`. It 
would also be nice to have a feature that developers can decide whether to blur 
other series when hovering on the line or the line area. Would this 
`triggerEvent` also be helpful if we decide to implement such a feature in the 
future?



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

Reply via email to