echarts 关系图:当进行缩小操作时线的label会跑的很远

aemubtdh  于 2022-11-05  发布在  Echarts
关注(0)|答案(3)|浏览(509)

Version

4.8.0

Steps to reproduce

鼠标滚轮缩小图

What is expected?

线的label一起缩小或隐藏,label离线的距离不要变

What is actually happening?

线的label距离线会很远(缩小程度越大偏离距离越远)

k2arahey

k2arahey1#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it containsa minimum reproducible demoand necessaryimagesto illustrate. Otherwise, our committers will ask you to do so.

  • A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe to our mailing list .

Have a nice day! 🍵

lrl1mhuk

lrl1mhuk2#

@skayi It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

Diagram: The cable of the line runs very far when the downsizing operation is performed

BODY

Version

4.8.0

Steps to reproduce

Mouse wheel zoomed out

What is expected?

The label of the line is reduced or hidden together, and the distance of the label offline should not change

What is actually happening?

The label of the line will be far away from the line (the greater the reduction, the farther the deviation will be)

odopli94

odopli943#

@skayi 可以设置 labelLayout.hideOverlap 隐藏

相关问题