wlbksy opened a new issue #13073:
URL: https://github.com/apache/incubator-echarts/issues/13073


   ### Version
   4.8.0
   
   ### Steps to reproduce
   following timestamp is around 2020-08-04 10:11:00
   
   ```javascript
   option = {
       xAxis: {
           data: [1596507060, 1596507160, 1596507260], // second
           type : 'time'
       },
       yAxis: {},
       series: [{
           type: 'line',
           data:[220, 182, 191]
       }]
   };
   ```
   
   ```javascript
   option = {
       xAxis: {
           data: [1596507060000, 1596507160000, 1596507260000], // micro second
           type : 'time'
       },
       yAxis: {},
       series: [{
           type: 'line',
           data:[220, 182, 191]
       }]
   };
   ```
   
   ```javascript
   option = {
       xAxis: {
           data: [1596507060.000, 1596507160.000, 1596507260.000], // second 
with decimal
           type : 'time'
       },
       yAxis: {},
       series: [{
           type: 'line',
           data:[220, 182, 191]
       }]
   };
   ```
   
   ### What is expected?
   right parsing of x axis timestamp, timestamp is around 2020-08-04 10:11:00
   
   ### What is actually happening?
   timestamp displays 08:00:00, and wrong xaxis interval
   
![image](https://user-images.githubusercontent.com/2433806/89245594-bbc6bd80-d63b-11ea-8ef1-3832ba5fbc09.png)
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
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.

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



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

Reply via email to