You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "RahulVishK (via GitHub)" <gi...@apache.org> on 2023/08/02 11:07:44 UTC

[GitHub] [echarts] RahulVishK opened a new issue, #18952: Interval is not working for axis Type "Time".

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

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=candlestick-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5JALZW0A0J6AhrngDIcBGVADYFUpUhGhgqAJwBuHIbAIAmNuIC-JDetjkc-Ikh0kAJhzAc8VMEQDa7YuPR5gAVxkBjGrAfPSYv6kHEQqAAy6QbD8RADMACyRQZ5EAIwRjv6mcQAcSVkWPrThqQDsALTp5SrxtJmkJlGBUSGw8RlR6DGwsQCs-c4pPR2d2bC9I1Hm0nQlFVUqvXVRjUHNQa2xqQPi3bF59eJDsbE7pGPxiYfnhbNhZZVh1QBsy0Gr_uv-mwed0Wn9a7oIaAv4XNRA2DTIpzR7VUpvfxafwAXUcyNgKN01hkECohF8ji-ZEoRU8HGgpiE-MgngA1qx6lRoJ5gKYfMT0Bg6NDGVFyPZaBxWLBaPwRbRPBLTLQUbAAPTy2AAC1kVGisHwsAA5hA5MyyAB3CDeWAsCAAM1ghvVuv1sE8mrAeGtwBkdMk2tg9Qx6AxaI0AG4gA
   
   ### Steps to Reproduce
   
   1. plot a candle series 
   2. xAxis Type should be time axis 
   3. give interval value to the chart in axislabels
   
    xAxis: {
       type: 'time',
       axisLabel:{
         interval :2,
       }
     }
   
   ### Current Behavior
   
   Interval is not working for axis Type "Time".
   
   
   option = {
     xAxis: {
       type: 'time',//  type:'category' working 
       axisLabel:{
         interval :2,
       }
     },
     yAxis: {},
     dataset: [
       {
         source: [
           {
             a: 20,
             b: 34,
             c: 10,
             d: 38,
             date: '2017-10-24'
           },
           {
             a: 40,
             b: 35,
             c: 30,
             d: 50,
             date: '2017-10-25'
           },
           {
             a: 31,
             b: 38,
             c: 33,
             d: 44,
             date: '2017-10-26'
           },
           {
             a: 38,
             b: 15,
             c: 5,
             d: 42,
             date: '2017-10-27'
           }
         ]
       }
     ],
     series: [
       {
         type: 'candlestick',
         encode: {
           x: 'date',
           y: ['a', 'b', 'c', 'd'] // here b is given twice ,if we give c its working 
         }
       }
     ]
   };
   
   ### Expected Behavior
   
   interval should also work for time axis 
   
   ### 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


Re: [I] Interval is not working for axis Type "Time". [echarts]

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

   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


Re: [I] Interval is not working for axis Type "Time". [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #18952: Interval is not working for axis Type "Time".
URL: https://github.com/apache/echarts/issues/18952


-- 
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] MatthiasMert commented on issue #18952: Interval is not working for axis Type "Time".

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

   Its not supposed to work for axis type time. From the [documentation](https://echarts.apache.org/en/option.html#xAxis.axisLabel):
   
   > Interval of Axis label, which is available in category axis.


-- 
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] Interval is not working for axis Type "Time". [echarts]

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

   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!


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