Skip to content

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

Closed as not planned

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)

Activity

  1. added
    pending
    on Nov 30, 2021
  2. echarts-bot commented on Nov 30, 2021

    @echarts-bot

    @JIANGQIAN3333 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗

    TRANSLATED

    TITLE

    Latest version: When type is set to time, the time stamp of interval setting is invalid

    BODY

    Latest version: When type is set to time, the time stamp of interval setting is invalid
    I want to set the x-axis to be divided according to each month, but it can't be achieved. May I ask where there is a problem
    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)

  3. changed the title [-]最新版本:type设置为time时,interval设置时间戳无效[/-] [+]Latest version: When type is set to time, the time stamp of interval setting is invalid 最新版本:type设置为time时,interval设置时间戳无效[/+] on Dec 1, 2021
  4. added
    missing-demo
    on Dec 3, 2021
  5. supermaverickws commented on Jan 12, 2022

    @supermaverickws

    same

  6. github-actions commented on Jan 12, 2024

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

  7. added
    stale
    on Jan 12, 2024
  8. github-actions commented on Jan 20, 2024

    @github-actions
    Contributor

    This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing-demopendingstalewaiting-for: author

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions