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/09/21 15:25:57 UTC

[GitHub] [incubator-echarts] Remy-J opened a new issue #13321: when i use xAxis.type equal value the layout is broken

Remy-J opened a new issue #13321:
URL: https://github.com/apache/incubator-echarts/issues/13321


   ### Version
   4.6.0
   
   ### Reproduction link
   [https://gallery.echartsjs.com/editor.html?c=xs9BT4SnHR&v=1](https://gallery.echartsjs.com/editor.html?c=xs9BT4SnHR&v=1)
   
   ### Steps to reproduce
   use this conf: 
   `option = {
       legend: {},
       tooltip: {},
       dataset: {
           source: [
               ['val', 'id'],
               [0, 1234],
               [4, 12345],
   
           ]
       },
       xAxis: {type: 'value'},
       yAxis: {},
       series: [
           {type: 'bar'},
   
       ]
   };`
   
   
   ### What is expected?
   the graph is expected to be consistent
   
   ### What is actually happening?
   the layout is broken.
   the columns come out of the graph and their size is not good
   
   <!-- 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] [incubator-echarts] pissang commented on issue #13321: when i use xAxis.type equal value the layout is broken

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #13321:
URL: https://github.com/apache/incubator-echarts/issues/13321#issuecomment-699577925


   You can specify the width of 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] [incubator-echarts] Ovilia commented on issue #13321: when i use xAxis.type equal value the layout is broken

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


   Hi, this is the expected behavior for now. Bars will be only clipped (display nothing) when all of the bar are outside of the grid area. There's no way to clip the part outside of the grid for now but it may be supported afterwards.


----------------------------------------------------------------
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] [incubator-echarts] Ovilia commented on issue #13321: when i use xAxis.type equal value the layout is broken

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


   Hi, this is the expected behavior for now. Bars will be only clipped (display nothing) when all of the bar are outside of the grid area. There's no way to clip the part outside of the grid for now but it may be supported afterwards.


----------------------------------------------------------------
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] [incubator-echarts] echarts-bot[bot] commented on issue #13321: when i use xAxis.type equal value the layout is broken

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


   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



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


[GitHub] [incubator-echarts] Remy-J commented on issue #13321: when i use xAxis.type equal value the layout is broken

Posted by GitBox <gi...@apache.org>.
Remy-J commented on issue #13321:
URL: https://github.com/apache/incubator-echarts/issues/13321#issuecomment-700764163


   thanks for your feedback but even by reducing the width of the bars when zooming the layout is broken
   
   use this cofig: option = {
     dataZoom: [{ type: 'inside' }],
     grid: { bottom: 40, left: 70, right: 50, top: 30 },
     series: [
       {
         barWidth: '10%',
         data: [
           ['val', 'id'],
           [0, 377146],
           [1, 620432],
         ],
         name: 'id',
         type: 'bar',
       },
     ],
     toolbox: {
       feature: {
         dataZoom: { title: { back: 'Zoom Reset', zoom: 'Zoom' } },
       },
       magicType: {
         show: false,
         title: {
           bar: 'Switch to Bar Chart',
           line: 'Switch to Line Chart',
           stack: 'Stack',
           tiled: 'Tile',
         },
         type: [],
       },
   
       saveAsImage: { title: 'Save image' },
   
       show: false,
     },
     tooltip: { axisPointer: { type: 'shadow' }, trigger: 'axis' },
   
     xAxis: {
       axisLabel: {
         rotate: 0,
       },
       axisLine: {
         lineStyle: {
           color: '#656565',
         },
       },
   
       boundaryGap: ['20%', '20%'],
       max: 2,
       min: -1,
       scale: true,
   
       splitLine: {
         lineStyle: {
           color: '#DDD',
           type: 'dashed',
         },
       },
   
       type: 'value',
     },
     yAxis: {
       axisLine: {
         onZero: false,
       },
       scale: false,
   
       splitLine: {
         lineStyle: { color: '#DDD', type: 'dashed' },
       },
     },
   };
   
   here is a link where you can test:
   https://gallery.echartsjs.com/editor.html?c=xs9BT4SnHR&v=3
   
   place your mouse to the right of the first bar and zoom step by step and you will see the outdated bar of the y-axis
   
   here is a link where you can see the result:
   https://zupimages.net/viewer.php?id=20/40/vs3s.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] [incubator-echarts] echarts-bot[bot] commented on issue #13321: when i use xAxis.type equal value the layout is broken

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


   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



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


[GitHub] [incubator-echarts] Remy-J commented on issue #13321: Clipping the bar outside of the grid

Posted by GitBox <gi...@apache.org>.
Remy-J commented on issue #13321:
URL: https://github.com/apache/incubator-echarts/issues/13321#issuecomment-707141316


   Hi, thank you for your reply


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