echarts-bot[bot] commented on issue #18842:
URL: https://github.com/apache/echarts/issues/18842#issuecomment-1619935815

   @Oracimaru It seems you are not using English, I've helped translate the 
content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] How to expand the width of the background color in the markArea area
   
   **BODY**
   
   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   none
   
   ### Steps to Reproduce
   
               markArea: {
      
                 data: [
                   [
                     {
                       name: "Acceptance Service",
                       xAxis: "Ordinary call acceptance",
                       itemStyle: {
                         color:"rgba(1, 151, 255, 0.4)"
                       },
                       label: {
                         backgroundColor: "#0197FF",
                         color: "white",
                         borderColor: "#0197FF",
                         borderWidth: 1,
                         padding: 8,
                         align: "center"
                         // width: 120
                       }
                     },
                     {
                       xAxis: "Acceptance at outlets"
                     }
                   ],
                   [
                     {
                       name: "Collection Service",
                       xAxis: "Ordinary call acceptance",
                       itemStyle: {
                        color: "rgba(1, 80, 193, 0.4)
                       },
                       label: {
                         backgroundColor: "#0150C1",
                         color: "white",
                         borderColor: "#0150C1",
                         borderWidth: 1,
                         padding: 8,
                         align: "center"
                         // width: 120
                       }
                     },
                     {
                       xAxis: "Acceptance at outlets"
                     }
                   ],
                  ]
               }
   
   
   ### Current Behavior
   
   the markArea bgcolor is base the x center point, how can it extend left and 
right area.
   
![image](https://github.com/apache/echarts/assets/13652680/fc9e47c8-82df-48c8-83b7-cecdd4f1d378)
   
   
   ### Expected Behavior
   
   markArea
   
   ### Environment
   
   ```markdown
   - OS:
   -Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_
   </details>


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