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 2023/01/09 11:39:20 UTC

[GitHub] [echarts] aj186018 opened a new issue, #18154: StackedBar chart min height on smaller bar not getting set

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

   ### Version
   
   4.9.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   option = {
     tooltip: {
       trigger: 'axis',
       axisPointer: {
         // Use axis to trigger tooltip
         type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow'
       }
     },
     legend: {},
     grid: {
       left: '3%',
       right: '4%',
       bottom: '3%',
       containLabel: true
     },
     xAxis: {
       type: 'value'
     },
     yAxis: {
       type: 'category',
       data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
     },
     series: [
       {
         name: 'Direct',
         type: 'bar',
         stack: 'total',
         label: {
           show: true
         },
         emphasis: {
           focus: 'series'
         },
         data: [3, 3, 3, 3, 390, 330, 320]
       },
       {
         name: 'Mail Ad',
         type: 'bar',
         stack: 'total',
         label: {
           show: true
         },
         emphasis: {
           focus: 'series'
         },
         data: [120, 132, 101, 134, 90, 230, 210]
       },
       {
         name: 'Affiliate Ad',
         type: 'bar',
         stack: 'total',
         label: {
           show: true
         },
         emphasis: {
           focus: 'series'
         },
         data: [220, 182, 191, 234, 290, 330, 310]
       },
       {
         name: 'Video Ad',
         type: 'bar',
         stack: 'total',
         label: {
           show: true
         },
         emphasis: {
           focus: 'series'
         },
         data: [150, 212, 201, 154, 190, 330, 410]
       },
       {
         name: 'Search Engine',
         type: 'bar',
         stack: 'total',
         label: {
           show: true
         },
         emphasis: {
           focus: 'series'
         },
         data: [820, 832, 901, 934, 1290, 1330, 1320]
       }
     ]
   };
   
   ### Current Behavior
   
   Using stacked bar chart. if some bar have very high value (100x) where x is minimum value for bar in that stacked bar, it is not/hardly visible on chart
   
   ### Expected Behavior
   
   Wanted to be able to force minimum height if even the largest bar in stack is 100x value
   
   ### Environment
   
   ```markdown
   - OS:windows 10
   - Browser:chrome
   - Framework: angular
   ```
   
   
   ### 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


[GitHub] [echarts] echarts-bot[bot] closed issue #18154: StackedBar chart min height on smaller bar not getting set

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #18154: StackedBar chart min height on smaller bar not getting set
URL: https://github.com/apache/echarts/issues/18154


-- 
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] Ovilia commented on issue #18154: StackedBar chart min height on smaller bar not getting set

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

   Duplicate of #17005 . Please follow that issue. A pull request is welcomed.


-- 
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] Ovilia closed issue #18154: StackedBar chart min height on smaller bar not getting set

Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #18154: StackedBar chart min height on smaller bar not getting set
URL: https://github.com/apache/echarts/issues/18154


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