sidshas03 commented on issue #21834: URL: https://github.com/apache/echarts/issues/21834#issuecomment-6853886743
Fair enough, and honestly your reading is the safer one. L74–76 is what the code does today, so taking that as the current contract makes sense for backward compat. Flipping `nameGap` to post-overlap, which is what my #21837 does, would shift existing charts, that's exactly the risk you're flagging. So we've basically arrived at the two branches of the same decision. My PR changes `nameGap` semantics; yours adds `nameOffset` and leaves `nameGap` as it is. Both are stuck on the same question: which of the two contradicting comment blocks in `axisCommonTypes.ts` the team actually wants to hold. I'd suggest we don't go deep on either until a maintainer picks one. No sense in two PRs racing when one is going to be closed anyway. Could a maintainer confirm the intended `nameGap` behaviour when `nameMoveOverlap` is on? Once that's decided it's clear which PR to carry forward, and I'm happy to close mine if `nameOffset` is the direction. -- 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]
