You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/04/21 09:39:56 UTC

[GitHub] [echarts] QC-GET opened a new issue, #16927: 当x轴为时间轴时X轴配置项interval设置无效[Bug]

QC-GET opened a new issue, #16927:
URL: https://github.com/apache/echarts/issues/16927

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   let data = [
                   [
                       1650511428000,
                       22
                   ],
                   [
                       1650511438000,
                       22
                   ],
                   [
                       1650511458000,
                       22
                   ]
               ]
   option = {
       "tooltip": {
           "trigger": "axis",
           "axisPointer": {
               "type": "cross"
           }
       },
       "xAxis": {
           "type": "time",
           "name": "时间",
           "interval": 3600000,//60分钟
           "min": 1650506400000,
           "max": 1650513600000,
           "axisLabel": {}
       },
       "grid": {
           "top": 40,
           "left": 60,
           "right": 40,
           "bottom": 40
       },
       "yAxis": {
           "type": "value",
           "name": "温度℃",
           "min": 0,
           "interval": 33,
           "axisLabel": {
               "show": true
           },
           "max": 528
       },
       "series": [
           {
               "name": "温度",
               "data":data ,
               "type": "line",
               "smooth": true,
               "showSymbol": false
           }
       ]
   };
   
   ### Current Behavior
   
   当x轴type为time时interval配置项无效,无法自定义设置x轴间隔
   ![QQ截图20220421173614](https://user-images.githubusercontent.com/64473636/164426481-2e9a97df-e888-45a1-907a-ad59f9eef9e9.png)
   
   
   
   ### Expected Behavior
   
   当x轴type为time时,设置interval为3600000时X轴间隔应该为1小时,而不应该是其他大小间隔
   
   ### Environment
   
   ```markdown
   - OS:windown 10
   - Browser:Chrome 100.0.4896.88
   - Framework: Vue@2
   ```
   
   
   ### Any additional comments?
   
   当我将echart版本退回到4.9.0时能正常应用


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #16927: [Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16927:
URL: https://github.com/apache/echarts/issues/16927#issuecomment-1104960005

   I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
   
   Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
   
   A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
   
   Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] linghaoSu commented on issue #16927: 当x轴为时间轴时X轴配置项interval设置无效[Bug]

Posted by GitBox <gi...@apache.org>.
linghaoSu commented on issue #16927:
URL: https://github.com/apache/echarts/issues/16927#issuecomment-1114378665

   也许你可以搭配 minInterval 与 maxInterval 来设置一个固定的间隔,不过 interval 似乎确实不生效了,使用的是根据 minInterval 与 maxInterval 计算的结果来划分 tick,不晓得是文档没更新还是一个 bug(


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] QC-GET commented on issue #16927: 当x轴为时间轴时X轴配置项interval设置无效[Bug]

Posted by GitBox <gi...@apache.org>.
QC-GET commented on issue #16927:
URL: https://github.com/apache/echarts/issues/16927#issuecomment-1104967295

   > @QC-GET看来您没有使用英语,我已经帮助自动翻译了内容。为了让更多人了解您的问题并获得帮助,我们建议下次使用英语。🤗
   > 
   > 已翻译
   
   ok, thank you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #16927: 当x轴为时间轴时X轴配置项interval设置无效[Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16927:
URL: https://github.com/apache/echarts/issues/16927#issuecomment-1104964030

   @QC-GET It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   X-axis configuration item interval setting is invalid when the x-axis is the timeline [Bug]
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] closed issue #16927: [Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #16927: [Bug] 
URL: https://github.com/apache/echarts/issues/16927


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] 当x轴为时间轴时X轴配置项interval设置无效[Bug] [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16927:
URL: https://github.com/apache/echarts/issues/16927#issuecomment-2089139055

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org