-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed as not planned
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.waiting-for: community
Description
Version
5.3.2
Link to Minimal Reproduction
No response
Steps to Reproduce
var option;
let base = +new Date(1988, 9, 3);
let oneDay = 24 * 3600 * 1000;
let data = [[base, Math.random() * 50]];
for (let i = 1; i < 20000; i++) {
let now = new Date((base += oneDay));
data.push([+now, Math.round((Math.random() - 0.5) * 20 + data[i - 1][1])]);
}
const baseOption = {
grid: {
left: 5,
containLabel: true,
},
tooltip: {
trigger: 'axis',
appendToBody: true,
position: function (pt) {
return [pt[0], '10%'];
},
},
xAxis: {
type: 'time',
boundaryGap: false,
axisLabel: {
showMinLabel: false,
showMaxLabel: false,
hideOverlap: true,
// formatter: null,
},
},
yAxis: {
type: 'value',
boundaryGap: [0, '100%'],
},
};
option = ({
...baseOption,
series: [
{
name: 'Series1',
type: 'line',
smooth: false,
symbol: 'circle', //'none',
symbolSize: 7,
lineStyle: {
width: 1,
},
data: data.slice(0, 10),
stack: 'Total',
},
],
})Current Behavior
Expected Behavior
hide min label when xAxis type is time
Environment
- OS: MacOS
- Browser: Chrome 100
- Framework: anyAny additional comments?
No response
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.waiting-for: community
