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 2020/01/19 09:10:33 UTC

[GitHub] [incubator-echarts] lengmoukong opened a new issue #12090: 折线图 xAxis category类目,data里面日期数据达到145 线条间距不相等

lengmoukong opened a new issue #12090: 折线图 xAxis category类目,data里面日期数据达到145 线条间距不相等
URL: https://github.com/apache/incubator-echarts/issues/12090
 
 
   ### Version
   4.3.0
   
   ### Reproduction link
   [https://gallery.echartsjs.com/editor.html?c=xZKrX_Cf3&v=1](https://gallery.echartsjs.com/editor.html?c=xZKrX_Cf3&v=1)
   
   ### Steps to reproduce
   var dd = [];
   for (var i = 0; i < 146; i  ) {
       var node = '2017-12-10'   '\n'   i
       dd.push(node);
   }
   
   option = {
       tooltip: {
           trigger: 'item',
           formatter: function(val) {
               return '['   val.value[0]   '] : '   val.value[2]
           }
       },
       xAxis: {
           type: 'category',
           data: dd,
           splitLine: {
               show: true,
               lineStyle: {
                   color: 'rgba(40, 80, 95, 1)',
               }
           },
           onZero: false,
           scale: true,
           axisLabel: {
               interval: 23,
               rotate: 90,
               showMaxLabel: true,
           }
       },
       yAxis: {
           type: 'time',
       },
       series: [{
           data: [],
           type: 'line',
       }]
   };
   
   ### What is expected?
   x轴区间分隔相等
   
   ### What is actually happening?
   x轴区间分隔不相等
   
   ---
   数据展示上需求要最后一个日期显示出来 并且各个分隔区域相等
   
   <!-- This issue is generated by echarts-issue-helper. 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:
users@infra.apache.org


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] lengmoukong closed issue #12090: 折线图 xAxis category类目,data里面日期数据达到145 线条间距不相等

Posted by GitBox <gi...@apache.org>.
lengmoukong closed issue #12090: 折线图 xAxis category类目,data里面日期数据达到145 线条间距不相等
URL: https://github.com/apache/incubator-echarts/issues/12090
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12090: 折线图 xAxis category类目,data里面日期数据达到145 线条间距不相等

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12090: 折线图 xAxis category类目,data里面日期数据达到145 线条间距不相等
URL: https://github.com/apache/incubator-echarts/issues/12090#issuecomment-575983019
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] lengmoukong commented on issue #12090: 折线图 xAxis category类目,data里面日期数据达到145 线条间距不相等

Posted by GitBox <gi...@apache.org>.
lengmoukong commented on issue #12090: 折线图 xAxis category类目,data里面日期数据达到145 线条间距不相等
URL: https://github.com/apache/incubator-echarts/issues/12090#issuecomment-575985704
 
 
   已解决 
     boundaryGap: false,

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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