echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Avoid legend - axis title / axis label overlap

Open LUUUAN opened this issue 8 months ago • 1 comments

What problem does this feature solve?

Really happy to see ECharts 6.0.0-beta.1 solved the issue of axis title - axis label overlap! However, I found that legend will still overlap with axis label or axis title, especially when axis labels are rotated. It seems legend doesn't take any space in Echarts, so it would overlap with anything if possible.

Image

Are there any plan to avoid this overlap?

What does the proposed API look like?

Would like this feature to be set to default if possible

LUUUAN avatar Jul 01 '25 11:07 LUUUAN

I'm seeing a similar problem. If I have horizontal labels then it fits, but if I angle the labels the legend doesn't move to make space:

Image

rossburton avatar Dec 09 '25 16:12 rossburton