Skip to content
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

坐标轴设置箭头与坐标线宽的问题 #7422

Closed
Loinver opened this issue Jan 4, 2018 · 8 comments
Closed

坐标轴设置箭头与坐标线宽的问题 #7422

Loinver opened this issue Jan 4, 2018 · 8 comments

Comments

@Loinver
Copy link

Loinver commented Jan 4, 2018

One-line summary [问题简述]

比如给Y轴设置
axisLine: { lineStyle: { color: "#9f8d6a", width: 4 }, symbol: ['none', 'arrow'], symbolSize: [15, 20] },
此时的箭头看起来就是这样
image
是不是很奇怪
有没有设置箭头位置偏移的呢?

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:3.85
  • Browser version [浏览器类型和版本]:谷歌 63
  • OS Version [操作系统类型和版本]:win10

Expected behaviour [期望结果]

可以设置箭头位置偏移

@Ovilia
Copy link
Contributor

Ovilia commented Jan 5, 2018

@Loinver 可以,后面我加下

@Loinver
Copy link
Author

Loinver commented Jan 5, 2018

好的,谢谢

@Loinver Loinver closed this as completed Jan 5, 2018
@Ovilia Ovilia reopened this Jan 5, 2018
@Ovilia
Copy link
Contributor

Ovilia commented Jan 5, 2018

@Loinver 修复完再 close 哈~

@Loinver
Copy link
Author

Loinver commented Jan 5, 2018

@Ovilia 好的

@Ovilia Ovilia closed this as completed in 373aa8f Jan 30, 2018
@Loinver
Copy link
Author

Loinver commented Jan 30, 2018

@Ovilia 已修复了么?

@Ovilia
Copy link
Contributor

Ovilia commented Jan 30, 2018

@Loinver 修复了,可以设置 symbolOffset,比如 [-10, 20] 表示起始端箭头往上(或左)移动 10,结束箭头往下(或右)移动 20。
只修改了 src 文件,需要使用的话要自己编译,或者等下一次发版吧~

@Loinver
Copy link
Author

Loinver commented Jan 30, 2018

@Ovilia 好的,谢谢

@Ovilia Ovilia reopened this Jan 30, 2018
@Ovilia
Copy link
Contributor

Ovilia commented Jan 30, 2018

后面会改进一下极坐标系等的情况

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

No branches or pull requests

3 participants