You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/02/01 02:35:09 UTC

[GitHub] [echarts] Ovilia commented on issue #14121: Legend symbol/label are misaligned in some cases

Ovilia commented on issue #14121:
URL: https://github.com/apache/echarts/issues/14121#issuecomment-770523359


   Legend text uses `'middle'` for vertical text align. So this is probably because the middle line of "Hind" is higher than the others. I tested both 4.x and 5.x and they both have similar result, so this should not be an issue of ECharts.
   
   ![4.x](https://user-images.githubusercontent.com/779050/106408235-fe494580-6478-11eb-8e7d-17d993e40873.png)
   ![5.x](https://user-images.githubusercontent.com/779050/106408246-04d7bd00-6479-11eb-8c15-d26c2cc15106.png)
   
   A simple way to adjust the position would be using [padding](https://echarts.apache.org/en/option.html#legend.padding).
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org