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/09 20:09:24 UTC

[GitHub] [incubator-echarts] Bilge opened a new issue #13414: Tooltip default font differs from rest of chart

Bilge opened a new issue #13414:
URL: https://github.com/apache/incubator-echarts/issues/13414


   ### Version
   4.9.0
   
   ### Steps to reproduce
   1. Create chart
   2. Add tooltip
   
   ### What is expected?
   Default font family for chart and tooltip are the same.
   
   ### What is actually happening?
   Default font family for chart is `sans-serif`, but default font for tooltip is `Microsoft YaHei`.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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


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

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #13414:
URL: https://github.com/apache/incubator-echarts/issues/13414#issuecomment-706534602


   Please check 5.0, tooltip's `font-family` should be `sans-serif`
   ![Screen Shot 2020-10-10 at 19 32 01](https://user-images.githubusercontent.com/20318608/95653984-51486700-0b2f-11eb-912b-56a0d36eb9e4.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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13414:
URL: https://github.com/apache/incubator-echarts/issues/13414#issuecomment-706380584


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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