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/10/10 17:42:58 UTC

[GitHub] [incubator-echarts] plainheart edited a comment on issue #13414: Tooltip default font differs from rest of chart

plainheart edited a comment on issue #13414:
URL: https://github.com/apache/incubator-echarts/issues/13414#issuecomment-706560330


   Sorry, I'm afraid not, the default font of `tooltip` depends on the user's platform. (See https://github.com/apache/incubator-echarts/blob/next/src/model/globalDefault.ts#L64)
   
   The reason why some other components' default font is `sans-serif` is that they have been specified with default value in their own model. But the `tooltip` model doesn't specify, so it will use the global default font. (Windows: `Microsoft Yahei`, Others: `sans-serif`)
   
   ![image](https://user-images.githubusercontent.com/26999792/95657636-0f77ea80-0b48-11eb-8755-f60205de1a00.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



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