Skip to content

doc(axis): clarify nameGap with nameMoveOverlap - #543

Open
sidshas03 wants to merge 1 commit into
apache:masterfrom
sidshas03:doc/21834-name-gap
Open

sidshas03 wants to merge 1 commit into
apache:masterfrom
sidshas03:doc/21834-name-gap

Conversation

@sidshas03

Copy link
Copy Markdown

The current nameGap description only mentions the distance from the axis line. It does not explain how the option works when nameMoveOverlap is enabled.

With nameMoveOverlap enabled, ECharts first moves the axis name to avoid overlapping labels and then applies nameGap from the adjusted position. Negative values are ignored in this case.

Related issue: apache/echarts#21834
Code PR: apache/echarts#21837

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant