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/09/26 07:30:32 UTC

[GitHub] [echarts] huangluyu commented on issue #17522: [Bug] bar chart x-axis incorrect when stacking multiple series

huangluyu commented on issue #17522:
URL: https://github.com/apache/echarts/issues/17522#issuecomment-1257600052

   It seams like stacked xAxis max value
   example:
   ```
   option = {
     xAxis: {
       type: 'value'
     },
     yAxis: {
       type: 'value'
     },
     series: [
       {
         data: [
           [10, 50],
           [15, 100]
           ],
         type: 'bar',
         stack: 'jrx'
       },
       {
         data: [
           [12, 50],
           [14, 100]
           ],
         type: 'bar',
         stack: 'jrx'
       }
     ]
   };
   ```
   ![image](https://user-images.githubusercontent.com/14289841/192217503-018f497e-6cac-4d7a-809b-d522a08527e8.png)
   And It's stack strategy like the line,but show the bar as it own way,without stacked and accurately.
   ![image](https://user-images.githubusercontent.com/14289841/192218231-88b4c7a5-4947-48c5-b294-b91848272e4f.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.

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