xxxx-p opened a new issue, #21504:
URL: https://github.com/apache/echarts/issues/21504

   ### Version
   
   6.0.0
   
   ### Link to Minimal Reproduction
   
   
https://echarts.apache.org/examples/zh/editor.html?code=PYBwLglsB2AEC8sDeAoWsDGwA2wBOAXLANoBEAxAMyUCcAHACIBCpAugDRqxjA6QhFU6dGDwQA5uICmhWKQCGADwgBnUp2GwlqgArAI0MDMFdNYAJ4gpRUioAW8gCbAA7qVOwAvl08bY4sUdBXy5FAEFlFSJiIWELKxsMeSNxfHN1D0dk-WjSAFkYdTkAFQBXKSLSAHUpR0riu1LKgDExSoBlZI7S6DYfDi5zCNVo2JFLazkAN3lscvd0TwH0FRkIKSiSMdhoeQBbSdJAF7dAUuNAfujAO9SMswmbACN5PGvhB7wqiEcwOxsANgAGACkz3QWTAORIAEY_uxYABWABMMPhf2hsGoABYYbRUdRUfDkax-ihPEA&_source=echarts-doc-preview
   
   ### Steps to Reproduce
   
   1. Create a regular bar chart
   2. Set the height of the axis label without setting the background color
   
   ### Current Behavior
   
   option: option = {
     color: ["#3398DB"],
     tooltip: {
       trigger: "axis",
       axisPointer: {
         type: "shadow"
       }
     },
     grid: {},
     xAxis: [{
       type: "category",
       data: ["Mo", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
       axisLabel: {
         height: 150
       }
     }],
     yAxis: [{
       type: "value"
     }],
     series: [{
       name: "直接访问",
       type: "bar",
       barWidth: "60%",
       data: [10, 52, 200, 334, 390, 330, 220]
     }]
   }
   
   <img width="1210" height="861" alt="Image" 
src="https://github.com/user-attachments/assets/7ea8c18d-4604-434d-8c23-61929cb7b850";
 />
   
   
   ### Expected Behavior
   
   option: option = {
     color: ["#3398DB"],
     tooltip: {
       trigger: "axis",
       axisPointer: {
         type: "shadow"
       }
     },
     grid: {},
     xAxis: [{
       type: "category",
       data: ["Mo", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
       axisLabel: {
         height: 150,
         backgroundColor: 'red'
       }
     }],
     yAxis: [{
       type: "value"
     }],
     series: [{
       name: "直接访问",
       type: "bar",
       barWidth: "60%",
       data: [10, 52, 200, 334, 390, 330, 220]
     }]
   }
   
   
   <img width="1181" height="870" alt="Image" 
src="https://github.com/user-attachments/assets/8ffc9f55-3674-47c6-a44d-877dbbfd4389";
 />
   
   ### Environment
   
   ```markdown
   - OS: mac os
   - Browser: chrome
   ```
   
   ### 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