[Bug]the bar chart starts at 0, and setting xAxis.axisline.onZero: false won't make it start at the minimum #17077
Labels
bug
en
This issue is in English
pending
We are not sure about whether this is a bug/new feature.
stale
Inactive for a long time. Will be closed in 7 days.
waiting-for: community
Version
5.3.2
Link to Minimal Reproduction
No response
Steps to Reproduce
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
axisLine: {
onZero: false
}
},
yAxis: {
type: 'value'
},
series: [{
data: [-120, 200, 150, 80, 70, 110, 130],
type: 'bar'
}]
}
Current Behavior
In 5.2.2, the bar chart starts at 0, and setting xAxis.axisline.onZero: false won't make it start at the minimum
Expected Behavior
This is OK for versions below 4.0.0
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: