pe-3 commented on code in PR #18052:
URL: https://github.com/apache/echarts/pull/18052#discussion_r1051379260


##########
src/chart/line/LineSeries.ts:
##########
@@ -52,6 +52,13 @@ interface LineStateOptionMixin {
     }
 }
 
+interface LineSegmentCallBackParams {
+    dataIndex: number,
+    dataVal: number
+}
+
+type LineSegmentOption = [number, number] | ((params: 
LineSegmentCallBackParams) => boolean);

Review Comment:
   Represent the line segment to be selected with the index of the start point 
and end point.



-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to