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
Labels
Comments
Hi! We've received your issue and please be patient to get responded. 🎉 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! 🍵 |
echarts-bot
bot
added
bug
pending
We are not sure about whether this is a bug/new feature.
waiting-for-help
labels
Apr 25, 2019
susiwen8
added a commit
to susiwen8/echarts
that referenced
this issue
Apr 28, 2019
Ovilia
removed
pending
We are not sure about whether this is a bug/new feature.
waiting-for-help
labels
May 5, 2019
deqingli
added a commit
to deqingli/incubator-echarts
that referenced
this issue
Sep 10, 2019
This was referenced Mar 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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,导致线的部分没有在坐标系内画出来
The text was updated successfully, but these errors were encountered: