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/07/20 06:22:26 UTC

[GitHub] [incubator-echarts] plainheart edited a comment on issue #12994: 同时设置css 和 行内样式时, tooltip 样式错误

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


   默认是以 html 模式绘制的,如果想要以 canvas 绘制,可以设置 [`renderMode`](https://echarts.apache.org/zh/option.html#tooltip.renderMode) 为 `richText`.
   tooltip用的是行内样式,优先级很高,覆盖不是因为优先级低,而是因为你设置的width和height这两个属性 tooltip 本身并未设置,所以会继承你给全部 div 标签设置的 width、height 。
   


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