Skip to content

[Bug] x轴type为time时,interval失效 #19502

@JingzaisWenzai

Description

@JingzaisWenzai

Version

5.x

Link to Minimal Reproduction

https://jsfiddle.net/zhoujiawen/dnjuoqe5/4/

Steps to Reproduce

1.打开jsfiddle链接查看折线图,间隔未生效

Current Behavior

1.在4.x版本无任何问题,但5.x版本x轴type为time时,interval无法生效
2.我的数据第一个时间为2023-01-09 00:00:00 ,但x轴默认显示9点开始,应该是从0点开始
image

Expected Behavior

1.当x轴type为time时,起始时间按数据显示
2.当x轴type为time时,能够按分钟、小时、天强制间隔x轴
Uploading image.png…

Environment

- OS:win11
- Browser: Chrome 120.0.6099.201
- Framework: Vue@3

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.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions