Skip to content

折线图X轴类型为时间轴时,设置间隔天数后,出现额外的刻度[Bug]  #16335

@small-dots

Description

@small-dots

Version

5.2.2

Link to Minimal Reproduction

No response

Steps to Reproduce

{
interval: 7,
type: 'time',
boundaryGap: false,
axisLabel: {
hideOverlap: true,
formatter: {
year: '{yyyy}年',
month: '{M}月',
day: '{M}/{d}',
none: '{yyyy}-{M}-{d}',
},
fontSize: 14,
textStyle: {
color: '#7ec7ff',
},
},
axisLine: {
lineStyle: {
color: '#d7cfcf',
opacity: 0.03,
},
},
splitLine: {
show: true,
lineStyle: {
color: '#d7cfcf',
opacity: 0.03,
},
},
axisTick: {
show: false,
},
},

Current Behavior

image

Expected Behavior

显示相同刻度的值,

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.waiting-for: community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions