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

   ### What problem does this feature solve?
   
   Hi, currently we can not round stacked bar chart in the way like on the 
picture
   <img width="150" alt="изображение" 
src="https://user-images.githubusercontent.com/16270391/208517703-762ffb93-5809-4dc5-bdab-b1ab9287a544.png";>
   
   We could round only top element like this one
   `barBorderRadius: isLast ? [6, 6, 0, 0] : undefined`
   <img width="198" alt="изображение" 
src="https://user-images.githubusercontent.com/16270391/208517848-7c22eeb2-8b2a-430a-a1df-0d00b42d8274.png";>
   
   Or if you use just `barBorderRadius: [6, 6, 0, 0]` it looks ugly with white 
gap near 
   <img width="152" alt="изображение" 
src="https://user-images.githubusercontent.com/16270391/208518027-d071558e-bd47-49b2-8d7f-164ddb89c669.png";>
   
   
   ### What does the proposed API look like?
   
   It could be done in two ways
   
   1. With adding pseudo-element on the bar or modify bar with calllback. 
`itemStyle.render () => return style`
   2. With change position of some elements. `itemStyle.marginTop: -6` 


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