xxxx-p commented on issue #21504:
URL: https://github.com/apache/echarts/issues/21504#issuecomment-3877030711

   > This is a known behavior("issue"), but it was intentionally designed this 
way from the outset — likely for performance reasons, the background box will 
not be rendered if no explicit backgroundColor is specified.
   > 
   > As a workaround, you can explicitly set a transparent color (e.g., 
`'transparent'` or `'rgba(0,0,0,0)'`).
   
   Actually, my initial usage scenario was when the text length of the label 
axis was relatively long, and I wanted to set the height to make the plugin 
automatically wrap according to the line. After reading the document, I 
expected that by setting axisLabel.overflow to 'truncate' and axisLabel.Height, 
the graphic would automatically wrap according to the set height, and 
automatically truncate when it exceeded the height. However, in reality, the 
display of text seems to have nothing to do with axisLabel.Height. Height only 
affects the height of the rectangle behind the text label, and is not related 
to the height of the text?
   
   <img width="1567" height="683" alt="Image" 
src="https://github.com/user-attachments/assets/79627714-6afe-47f3-a7c0-aafa2d736e8b";
 />
   
   


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