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


##########
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:
   What does `segment: [1, 3]` mean? The 1st and the 3rd line or the lines 
between the 1st and the 3rd 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-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