Open snowyme opened 2 weeks ago
I set the text to be vertically centered, but the effect is not significant
verticalAlign:'middle'
will stay close to the edge line by default. Try larger lineHeight with verticalAlign:'bottom'
or 'top'.
If you shrink the chart, it will become invalid
Version
5.2.2
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=graph-simple
Steps to Reproduce
I set the text to be vertically centered, but the effect is not significant![image](https://github.com/apache/echarts/assets/13547390/03a3cde4-4081-4249-ab19-27079aaf8980)
Current Behavior
I set the text to be vertically centered, but the effect is not significant
Expected Behavior
Whether zoomed in or out, text is vertically centered
Environment
Any additional comments?
No response