You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "OliverAndersRWE (via GitHub)" <gi...@apache.org> on 2023/06/10 14:30:58 UTC

[GitHub] [echarts] OliverAndersRWE opened a new issue, #18745: xaxis min is not working for 'time' category [Bug] [Bug]

OliverAndersRWE opened a new issue, #18745:
URL: https://github.com/apache/echarts/issues/18745

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=dataset-simple1&version=5.4.2&code=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrGMMBpCCUhVQQIZhsDOWYTV6AhAC2-LlGhcSAbQDkOAE4QCs8rFltV6gEayAupXTouwAK4KAxlhkCjqIw9iLlJWQCYADG4DMAWg8AbP4AjKq2DhqyJMHBbgB0AQAsho7osrrRwYlxbgCc4bAsqfapTkrE6p4-_gDsIWGl6prRHtm5KanpUbDBgXEArAVFjiWpzhXuXn4eABz1HY6RLd4DCxEZPR79cVtDa8gF6OOuVdO584dN3b3xNftpG73ZbnsFo47HlVO-vReNS5t4lsvLkAv1EsEAjM3PcdNcPCt-jVvAFAgEah5cv1vK9ipdPpNqjE_qUATcdqCZlTvDNcpiArCussEsFvP03DNvDEYjNcSN8eUTt9YiTOs1AXE6Rzgv1Ark3G5gozHq04iiOWCPMEavL8qlhg53g4CVVEiFRYtxU8cv0ZolvDqPMiOcr4dsAtrcg6agFvPKanzDQKXF83GavBaIlbVXT-vLEjN-rKIa6WgE4jKAuifHbvIkAoG7MGJqb_NNQozo9lff1fTUfD6uanNtsajVsbTE9q3AH9fsjUYTV5w-GK5cyQiEg71YlkfnvM3rejM_WOZjBn23sWhWH_P1I0YJytWrlobL68iF-OVdkER40VTa5jC-gB0dBaHw0EtQ1SdHjwE0phh2rSLqqrScmCVKAViL4HI0Q67k6B5pP-CRJhi9YIiiMxgdWtI5rkELOnBb5lCGhLhnMP6VvC2QYgmEEQrWYGtnk3h5t4ip-r2jgGkWCEfpR_j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RKu4YrxsJKJfJm6YJdJaJyxjJCI4YzRtJOJ9JEpfh4hX4LJwRBxlJ9-4YMJspFJuJIxkpeYSJ2JOp8peJGJ4Y8x2pQp8JxMBphJgprJwpumgR4JLBkJSpURzpYp7JGJMMKp1RMx1pCeI0fp0xWxgZneO0IZmxapupnxFuNUPx3JLpJRip2h0MUZ-xbJEJCJNU3elpDp4Z8ZN2RpVpJJPphpopcp4ppp-p1sGZvJhZxe-4dp-ZqpWZrpOZZJRJpZ6p3uzZXJOCPJAZZZ-p48JZBZI5qZCI34A51qyRXp2ZNp34AprZ_pYZk5bp2h34iZg5yZ7RU5KIgJ45bZKudC9Zw5vZpBwi5565l5eRGiN5MZJpepB534FpSZC5HZS5axnpVZ3po5XZ9pJ5jZ4hQQJx3ZE5d5GJbSx5a5T51ZL5m5c8SWsFoZ8F_5B5Oyj57ZKZSFDoIpv5xpCFcZxeIK2FQwtgegVAwwAAHgAII0UQBSDIDUAACeIA1g6gkAogv4wwrFDFTFTAwwAA9MJbAAACJYAWAYBsAKBYCwA8AABuWACgbAGAsA2gslClKlEAWAXAagWAbAFgAAFrAAAO4QAYDqXaDyXCBsAgAcUEBUCiXUDACwBsCwAWB0CmDCBwDAAABmsA7AnAPAYAcQJg5gVgGlrFQVWA_lbApg9AcQVAPASgelMgSAbFHFrgGAEA0AWAsgN8LFYA7FnFsguV-VhVpAVFpAAA3EAA
   
   ### Steps to Reproduce
   
   follow link above. the minimum xaxis value is wrong
   
   ### Current Behavior
   
   * min value of xaxis is wrong
   
   ### Expected Behavior
   
   * min value of xaxis should be smallest grid value
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser: edge
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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] OliverAndersRWE commented on issue #18745: [Bug] xaxis min is not working for 'time' category [Bug]

Posted by "OliverAndersRWE (via GitHub)" <gi...@apache.org>.
OliverAndersRWE commented on issue #18745:
URL: https://github.com/apache/echarts/issues/18745#issuecomment-1586042575

   thanks for the confirmation and the answer. 
   
   


-- 
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] helgasoft commented on issue #18745: [Bug] xaxis min is not working for 'time' category [Bug]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18745:
URL: https://github.com/apache/echarts/issues/18745#issuecomment-1585794604

   confirmed - the feature ["every series will auto-map to each column by default"]( https://echarts.apache.org/handbook/en/concepts/dataset#:~:text=Here%20is%20a%20simple%20dataset%20example) does not work for xAxis 'time'.
    [Official example](https://echarts.apache.org/examples/en/editor.html?c=dataset-simple1) is for ```xAxis: { type: 'category' }```, but there is a problem when _type: 'time'_.
   
   **Workaround** in you example is to either change xAxis to 'category', or do series with _encode_:
   ```
     series: [
       { type: 'line', encode:{x:0, y:1}, name:'first' }, 
       { type: 'line', encode:{x:0, y:2}, name:'second'}
     ]
   ```


-- 
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] OliverAndersRWE closed issue #18745: [Bug] xaxis min is not working for 'time' category [Bug]

Posted by "OliverAndersRWE (via GitHub)" <gi...@apache.org>.
OliverAndersRWE closed issue #18745: [Bug] xaxis min is not working for 'time' category [Bug]
URL: https://github.com/apache/echarts/issues/18745


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