Ovilia commented on code in PR #16947:
URL: https://github.com/apache/echarts/pull/16947#discussion_r1022528844
##########
src/component/axis/CartesianAxisView.ts:
##########
@@ -135,6 +136,30 @@ const axisElementBuilders: Record<typeof
selfBuilderAttrs[number], AxisElementBu
tickModel: splitLineModel
});
+ const axisScale = axis.scale as IntervalScale;
+ if (ticksCoords.length > 2 && axisScale.getInterval) {
Review Comment:
Why? For example, when data range is 11~19 and ticksCoords is [10, 20], I
believe there should be no split line, right?
--
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]