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

怎么给坐标轴的轴线加箭头,现在公司需求都要求添加箭头 #6675

Closed
yangj22 opened this Issue Sep 14, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@yangj22

yangj22 commented Sep 14, 2017

One-line summary [问题简述]

Version & Environment [版本及环境]

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

Expected behaviour [期望结果]

ECharts option [ECharts配置项]

option = {

}

Other comments [其他信息]

@yangj22 yangj22 changed the title from 怎么给坐标轴的轴线加箭头 to 怎么给坐标轴的轴线加箭头,现在公司需求都要求添加箭头 Sep 14, 2017

@Ovilia Ovilia added the new-feature label Sep 18, 2017

@Ovilia Ovilia closed this in fa4d30d Nov 2, 2017

@Ovilia

This comment has been minimized.

Show comment
Hide comment
@Ovilia

Ovilia Nov 2, 2017

Contributor

下个版本将支持这一功能,使用方法:

xAxis: {
    data: ['a', 'b', 'c', 'd', 'e'],
    axisLine: {
        symbol: ['none', 'arrow'], // 分别表示起始位置和终止位置是否使用箭头,默认不使用
        symbolSize: [10, 20] // 箭头的长宽
    }
}
Contributor

Ovilia commented Nov 2, 2017

下个版本将支持这一功能,使用方法:

xAxis: {
    data: ['a', 'b', 'c', 'd', 'e'],
    axisLine: {
        symbol: ['none', 'arrow'], // 分别表示起始位置和终止位置是否使用箭头,默认不使用
        symbolSize: [10, 20] // 箭头的长宽
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment