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

   ### What problem does this feature solve?
   
   Hers is a bar chart that needs to be divided into different categories based 
on a certain classification, each category is highlighted with a markArea, and 
there needs to be a gap between the markAreas in order to look good.
   
   At this stage, a false gap can be realized by adding a border width to the 
markArea by `series.markArea.itemStyle.borderWidth`, but when the width is 
increased to 8 (which is a suitable width for look), the border can be seen at 
the bottom edge obviously, in order to make the stroke at the bottom edge looks 
disappear, an upward offset can be added to xAxis by `xAxis.offset`, but the 
bar item of the series doesn't have the function of upward offset.
   
   
![image](https://github.com/user-attachments/assets/53558fa1-d839-4826-84b2-5c6c7295d650)
   
   
![image](https://github.com/user-attachments/assets/2901e9b7-72d6-4d9a-bd21-ef36166bbf0a)
   
   
   
   ### What does the proposed API look like?
   
   markArea: {
       silent: true,
       itemStyle: {
           gap: 8,
           borderColor: 'rgb(255,255,255)',
       }
   }


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