You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/07/10 10:31:35 UTC

[GitHub] [incubator-echarts] Aeero commented on issue #10836: 当legend字体大小设置为13时,为line的symbol特别细

Aeero commented on issue #10836: 当legend字体大小设置为13时,为line的symbol特别细
URL: https://github.com/apache/incubator-echarts/issues/10836#issuecomment-510006890
 
 
   > 折线图的 symbol 为 line 的意思是,拐点处用小短线显示,这是一种很奇怪的设置方式,我怀疑不是你要的效果?
   > 如果你要的效果是拐点处不显示圆点的话,正确的设置方式是 [showSymbol](https://echarts.apache.org/zh/option.html#series-line.showSymbol) 设为 false
   
   感谢回复。
   
   其实问题点在于legend的symbol,设置折线图的 symbol 为 line,legend的symbol也会默认为line(只是为了复现问题的时候尽量简洁,没想到会造成歧义 - -)。
   
   具体的差别如下图
   
   legend字体为奇数:
   ![thin](https://user-images.githubusercontent.com/13835083/60962146-38577180-a340-11e9-85c3-b0d1cde5ab27.png)
   
   legend字体为偶数:
   ![thick](https://user-images.githubusercontent.com/13835083/60962130-2f66a000-a340-11e9-8475-b88f24e0a4b3.png)
   
   
   
   

----------------------------------------------------------------
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: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org