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

   ### Version
   
   5.5.0
   
   ### Link to Minimal Reproduction
   
   无
   
   ### Steps to Reproduce
   
   未铺满div
   
   ### Current Behavior
   
   配置grid后,出现未填充满div问题
   ```
   option = {
     tooltip: {
       trigger: 'axis',
       axisPointer: {
         type: 'shadow'
       }
     },
     legend: {},
     grid: {
       left: '3%',
       right: '4%',
       bottom: '3%',
       containLabel: true
     },
     xAxis: [
       {
           "type": "category",
           "position": "bottom",
           "data": [
               "Alipay+",
               "",
               ""
           ],
           "axisLabel": {
               "color": "#ffffff",
               "fontSize": 12,
               "lineHeight": 16
           }
       },
       {
           "type": "category",
           "position": "bottom",
           "data": [
               "",
               "WF",
               ""
           ],
           "axisLabel": {
               "color": "#ffffff",
               "fontSize": 12,
               "lineHeight": 16
           }
       },
       {
           "type": "category",
           "position": "bottom",
           "data": [
               "",
               "",
               "HK Biz"
           ],
           "axisLabel": {
               "color": "#ffffff",
               "fontSize": 12,
               "lineHeight": 16
           }
       }
   ],
     yAxis: [
       {
         type: 'value'
       }
     ],
     series:[
       {
           "name": "USD",
           "type": "bar",
           "barWidth": 22,
           "xAxisIndex": 0,
           "data": [
               1000000000015.99
           ]
       },
       {
           "name": "USD",
           "type": "bar",
           "barWidth": 22,
           "xAxisIndex": 1,
           "data": [
               "",
               999999999999.99
           ]
       },
       {
           "name": "USD",
           "type": "bar",
           "barWidth": 22,
           "xAxisIndex": 2,
           "data": [
               "",
               "",
               999999999999.99
           ]
       },
       {
           "name": "EUR",
           "type": "bar",
           "barWidth": 22,
           "xAxisIndex": 0,
           "data": [
               1080699999999.91
           ]
       },
       {
           "name": "CNY",
           "type": "bar",
           "barWidth": 22,
           "xAxisIndex": 1,
           "data": [
               "",
               1408400000000
           ]
       },
       {
           "name": "CNY",
           "type": "bar",
           "barWidth": 22,
           "xAxisIndex": 2,
           "data": [
               "",
               "",
               1408400000000
           ]
       },
       {
           "name": "Others(US $)",
           "type": "bar",
           "barWidth": 22,
           "xAxisIndex": 1,
           "data": [
               "",
               2115000000000
           ]
       }
   ]
   };
   ```
   
   ### Expected Behavior
   
   这样写是为了过滤为0的数据,不进行占位
   现在解决了这个问题 出现了占不满div的问题
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to