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 2021/03/09 12:07:38 UTC

[GitHub] [echarts] F5F5 opened a new issue #14435: 使用splitNumber均分splitLine,最右边多出一条分割线

F5F5 opened a new issue #14435:
URL: https://github.com/apache/echarts/issues/14435


   ### Version
   5.0.2
   
   ### Reproduction link
   [https://jsfiddle.net/8065mwsv/1/](https://jsfiddle.net/8065mwsv/1/)
   
   ### Steps to reproduce
   option = {
       yAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       xAxis: {
               splitNumber: 7,
               max: 'dataMax',
           type: 'value'
       },
       series: [{
           data: [
                   18203,
                   23489,
                   29034,
                   104970,
                   131744,
                   140230,
                   63023,],
           type: 'bar'
       }]
   };
   
   ### What is expected?
   期望所有分割线宽度一致
   
   ### What is actually happening?
   实际最右边多出了1px
   
   <!-- 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:
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] susiwen8 edited a comment on issue #14435: 使用splitNumber均分splitLine,最右边多出一条分割线

Posted by GitBox <gi...@apache.org>.
susiwen8 edited a comment on issue #14435:
URL: https://github.com/apache/echarts/issues/14435#issuecomment-794691574


   You can loose the `max`, let `echarts` calculate `max`
   
   ```js
   option = {
       yAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       xAxis: {
           splitNumber: 7,
           type: 'value'
       },
       series: [{
           data: [
                   18203,
                   23489,
                   29034,
                   104970,
                   131744,
                   140230,
                   63023
           ],
           type: 'bar'
       }]
   };
   ```


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



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


[GitHub] [echarts] susiwen8 commented on issue #14435: 使用splitNumber均分splitLine,最右边多出一条分割线

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


   You can loose the `max`, let `echarts` calculate `max`


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



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


[GitHub] [echarts] F5F5 commented on issue #14435: 使用splitNumber均分splitLine,最右边多出一条分割线

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


   It seems should remove ```splitNumber``` or ```max```.😒


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



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


[GitHub] [echarts] susiwen8 commented on issue #14435: 使用splitNumber均分splitLine,最右边多出一条分割线

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


   I'm going to close this one, feel free to reopen it.


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



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


[GitHub] [echarts] F5F5 commented on issue #14435: 使用splitNumber均分splitLine,最右边多出一条分割线

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


   @susiwen8 Thank you very much! But if loose the ```max``` the bar cant align to the rightmost splitLine. The designer want them coincide. 😢😢😢
   ![image](https://user-images.githubusercontent.com/15978277/110601742-3e11f400-81c0-11eb-94b8-1fd37cb226f0.png)
   


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



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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14435: 使用splitNumber均分splitLine,最右边多出一条分割线

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14435:
URL: https://github.com/apache/echarts/issues/14435#issuecomment-793792289






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



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


[GitHub] [echarts] susiwen8 closed issue #14435: 使用splitNumber均分splitLine,最右边多出一条分割线

Posted by GitBox <gi...@apache.org>.
susiwen8 closed issue #14435:
URL: https://github.com/apache/echarts/issues/14435


   


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



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