MengqiYao0703 commented on issue #21834:
URL: https://github.com/apache/echarts/issues/21834#issuecomment-6811796436

   Thanks for the detailed investigation! I agree that we should clarify the 
existing `nameGap` semantics before introducing another option.
   
   My main concern is not necessarily the API name, but the inability to 
specify a predictable additional gap relative to the automatically resolved 
position.
   
   If `nameGap` is intended to represent the distance from the axis labels when 
`nameMoveOverlap` is enabled, as documented in `axisCommonTypes.ts`, then 
making the implementation consistent with that behavior would also solve my 
primary use case.
   
   I understand the concern about negative offsets potentially reintroducing 
overlaps. Supporting negative values is not essential to my request.
   
   Ideally, I would like to be able to specify something like `nameGap: 10` and 
have the axis name consistently positioned with an additional 10px of spacing 
beyond the automatically determined label boundary, regardless of label size or 
content.
   
   I'm happy with either improving the semantics of the existing `nameGap` or 
another approach that preserves automatic overlap avoidance while allowing 
predictable spacing.
   
   Thanks again for looking into this!


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