-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
[Bug] 图表只有一组数据时,缺少一侧刻度 #18453
Comments
This comment has been minimized.
This comment has been minimized.
@AAleeqqq It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 TRANSLATEDTITLE [Bug] When the chart has only one set of data, one side of the scale is missing BODY Version5.4.2 Link to Minimal Reproductionhttps://echarts.apache.org/examples/zh/editor.html?c=bar-background Steps to ReproduceChange the data attribute in xAxis to only one value Current BehaviorThe right scale of the x-axis is missing one Expected BehaviorThe scale on the right is complete Environmentwindows
official website Any additional comments?No response |
fix(axis): show last tick for single data #18453
Version
5.4.2
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=bar-background
Steps to Reproduce
将 xAxis中data属性改为只有一个值
xAxis: {
type: 'category',
data: ['Mon']
},
在官网的示例中.每一个柱状图当只有一个值时,都出现该问题
Current Behavior
x轴右侧刻度丢失一个
Expected Behavior
右侧刻度完整
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: