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

line图在x轴为数据轴,y轴为类目轴,并设置stack以及toolbox的datazoom时,显示有问题 #10359

Closed
WebsonLeo opened this issue Apr 25, 2019 · 1 comment
Labels

Comments

@WebsonLeo
Copy link

Version

4.2.1

Steps to reproduce

设置option如下:
option = {
"title": {
"text": "option传入的title"
},
"tooltip": {
"trigger": "axis"
},
"legend": {
"data": ["邮件营销", "联盟广告"]
},
"grid": {
"containLabel": true
},
"series": [{
"type": "line",
"stack": "all",
"data": [120, 132, 101, 134, 90, 230, 210],
"name": "邮件营销"
}, {
"type": "line",
"stack": "all",
"data": [220, 182, 191, 234, 290, 330, 310],
"name": "联盟广告"
}
],
"yAxis": {
"type": "category",
"data": ["周一", "周二", "周三", "周四", "周五", "周六", "周日"]
},
"xAxis": {
"type": "value",
},
"toolbox": {
"feature": {
"saveAsImage": {
"type": "jpeg",
"title": "保存保存"
},
"dataZoom": {
show:true
}
}
}
}

What is expected?

能够完整的展示线图

What is actually happening?

线图展示不完整,stack后,x轴的最大值应该在600,实际只有350,导致线的部分没有在坐标系内画出来

@echarts-bot
Copy link

echarts-bot bot commented Apr 25, 2019

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

Have a nice day! 🍵

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

Successfully merging a pull request may close this issue.

3 participants