New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.1.4]饼图标签排布奇怪,引导线过长 #2910

Closed
horans opened this Issue Mar 26, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@horans

horans commented Mar 26, 2016

问题简述 (One-line summary)

从 3.1.3 升级至 3.1.4 后,饼图右边的标签挤到了一起,并且引导线不受设定控制,移动版甚至顶出了容器。

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version):3.14
  • 浏览器类型和版本 (Browser version):chrome 51
  • 操作系统类型和版本 (OS Version): win 7 x64

重现步骤 (Steps to reproduce)

3.1.4 桌面
echart-314-01

3.1.4 手机
echart-314-02

期望结果 (Expected behaviour)

3.1.3 桌面
echart-313-01

3.1.3 手机
echart-313-02

可能哪里有问题 (What went wrong)

看了下版本更新,可能与 commit 36c2b14 有关。

ECharts配置项 (ECharts option)

桌面:

optionMain.series[0].labelLine.normal.length = 20;
optionMain.series[0].labelLine.normal.length2 = 20;

手机:

optionMain.series[0].labelLine.normal.length = 3;
optionMain.series[0].labelLine.normal.length2 = 2;

@pissang pissang added the enhancement label Mar 28, 2016

@pissang

This comment has been minimized.

Show comment
Hide comment
@pissang

pissang Mar 28, 2016

Contributor

谢谢反馈,先设置成 avoidLabelOverlap: false 试试

Contributor

pissang commented Mar 28, 2016

谢谢反馈,先设置成 avoidLabelOverlap: false 试试

@pissang pissang closed this in f20b82d Mar 28, 2016

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