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 2020/04/03 02:31:19 UTC

[GitHub] [incubator-echarts] iMyon commented on issue #8002: 【求教】有没有办法让graph用roam缩放的时候,label的字体大小也能一起缩放

iMyon commented on issue #8002: 【求教】有没有办法让graph用roam缩放的时候,label的字体大小也能一起缩放
URL: https://github.com/apache/incubator-echarts/issues/8002#issuecomment-608195651
 
 
   提供一个思路:
   1. 字体用百分比
   2. 监听graph缩放事件,动态更新图表依附页面元素的font-size
   
   不过有个问题,如果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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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