-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed
Labels
Description
One-line summary [问题简述]
Trying to change symbol by using 'image://' and change symbolOffset but it's not working in markLine data
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]: 4.2.0-rc.2
- Browser version [浏览器类型和版本]: Google Chrome 70.0.3538.77
- OS Version [操作系统类型和版本]:
Expected behaviour [期望结果]
- Able to customise the symbol image position
ECharts option [ECharts配置项]
markLine: {
lineStyle: {
width: 1,
color: '#626c91',
type: 'solid'
},
data: [
[
{
xAxis: 50,
yAxis: 0,
symbol: 'none',
},
{
xAxis: 50,
yAxis: 1800,
symbol: 'image://../../../assets/images/greyboxTest.png',
symbolSize: [160, 60],
symbolOffset: [0, '50%']
}
]
]
}