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

   ### What problem does this feature solve?
   
   Currently there is no way of showing labels inside or outside of bars 
depending on their size. This leads to the following:
   
   
![image](https://github.com/apache/echarts/assets/32216320/728180f0-ec99-4122-a7fb-5f0c559bed64)
   
   If there was an option to return label properties dynamically it could help 
make it more visually appealing.
   
   ### What does the proposed API look like?
   
   add a function type option for the [position property in 
label](https://echarts.apache.org/en/option.html#series-bar.label.position)
   
   position: (bar: RectLike, textRect: RectLike, text: string) => <position 
types>
   
   having the bar rect and the the textRect will allow the user to do any 
calculations desired in order to decide the final position of the label


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