Skip to content

Latest version: When type is set to time, the time stamp of interval setting is invalid 最新版本:type设置为time时,interval设置时间戳无效 #16142

@JIANGQIAN3333

Description

@JIANGQIAN3333

最新版本:type设置为time时,interval设置时间戳无效
我想设置根据每个月进行分割x轴,但是无法实现,请问那里出现了问题
xAxis: { type: 'time', interval: 2592000000, min: new Date('2016-7-3 8:40:52'), max: new Date('2021-7-3 8:40:52'), axisLabel: { show: true, formatter: '{yyyy}.{MM}' }, splitNumber: false, splitLine: { show: true }, axisTick: { show: true }},

Originally posted by @JIANGQIAN3333 in #2355 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing-demoThe author should provide a demo.pendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.waiting-for: author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions