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/06/10 08:19:20 UTC

[GitHub] [echarts] IrfanNazand opened a new issue, #17198: [Bug] X-Axis labels are too close to each other during month change on weekly interval

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

   ### Version
   
   5.3.1
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/dynamic-data-time-axis-forked-sdyeeq?file=/index.js
   
   ### Steps to Reproduce
   
   1. Choose Dynamic Data + Time Axis- example from echarts: https://echarts.apache.org/examples/en/editor.html?c=dynamic-data2
   2. Add 
   ```
   dataZoom: {
       start: 95,
       type: "inside",
       throttle: 50
     },
   ```
   3. Add 
   ```
   axisLabel: {
         formatter: {
           year: "{yyyy}",
           month: "{dd}-{MMM}",
           day: "{dd}-{MMM}",
           hour: "{HH}:{mm}"
         }
      },
   ```
   
   ### Current Behavior
   
   As displayed below, the interval between each tick is supposed to be one week, but every month changes this resets, making the last tick in the previous month and the new tick in a new month too close to each other. 
   
   ![Screenshot 2022-06-10 100926](https://user-images.githubusercontent.com/22817338/173021229-b8f5c1d4-3dca-4f87-9399-ae720781bcfb.png)
   
   ### Expected Behavior
   
   The x-axis should ignore month changes and keep the same interval between ticks no matter the zoom level.
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - 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] Ovilia commented on issue #17198: [Bug] X-Axis labels are too close to each other during month change on weekly interval

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

   Time axis labels should be enhanced.


-- 
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] IrfanNazand closed issue #17198: [Bug] X-Axis labels are too close to each other during month change on weekly interval

Posted by GitBox <gi...@apache.org>.
IrfanNazand closed issue #17198: [Bug] X-Axis labels are too close to each other during month change on weekly interval
URL: https://github.com/apache/echarts/issues/17198


-- 
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] jiawulin001 commented on issue #17198: [Bug] X-Axis labels are too close to each other during month change on weekly interval

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

   Seems to be the same problem as #17023, and I agree that time axis might need to be re-designed.


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