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

Comments

Projects
None yet
3 participants
@Loinver

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

This comment has been minimized.

Contributor

Ovilia commented Jan 5, 2018

@Loinver 可以,后面我加下

@Loinver

This comment has been minimized.

Loinver commented Jan 5, 2018

好的,谢谢

@Loinver Loinver closed this Jan 5, 2018

@Ovilia Ovilia reopened this Jan 5, 2018

@Ovilia

This comment has been minimized.

Contributor

Ovilia commented Jan 5, 2018

@Loinver 修复完再 close 哈~

@Loinver

This comment has been minimized.

Loinver commented Jan 5, 2018

@Ovilia 好的

@Ovilia Ovilia closed this in 373aa8f Jan 30, 2018

@Loinver

This comment has been minimized.

Loinver commented Jan 30, 2018

@Ovilia 已修复了么?

@Ovilia

This comment has been minimized.

Contributor

Ovilia commented Jan 30, 2018

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

@Loinver

This comment has been minimized.

Loinver commented Jan 30, 2018

@Ovilia 好的,谢谢

@Ovilia Ovilia reopened this Jan 30, 2018

@Ovilia

This comment has been minimized.

Contributor

Ovilia commented Jan 30, 2018

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

@Ovilia Ovilia closed this in e82976c Jan 31, 2018

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