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 14:44:32 UTC

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

plainheart commented 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 isn't `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