You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/12/10 11:13:32 UTC
[GitHub] [incubator-echarts] lishaoh opened a new issue #11825: 设置label的position定位问题:数据值有正有负,如何实现正值position设置为top,负值设置为bottom.求教!
lishaoh opened a new issue #11825: 设置label的position定位问题:数据值有正有负,如何实现正值position设置为top,负值设置为bottom.求教!
URL: https://github.com/apache/incubator-echarts/issues/11825
### Version
4.5.0-rc.2
### Steps to reproduce
依据数据可自定义label的position定位
### What is expected?
{
name: '柱状图',
type: 'bar',
barWidth: 40,
z: 10,
data: [1,2,43]
itemStyle: {
color: '#00a0e9',
},
label: {
show: true,
color: '#666',
position: 1>0? 'top' : 'bottom'
}
}
### What is actually happening?
现在position无法根据数据自定义
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org