You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/03/25 07:08:55 UTC

[incubator-echarts-doc] branch master updated: fix: add since

This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new 1cd91fb  fix: add since
1cd91fb is described below

commit 1cd91fbadaf994a858c3791a7c72b39430f2e811
Author: 100pah <su...@gmail.com>
AuthorDate: Wed Mar 25 15:08:32 2020 +0800

    fix: add since
---
 en/option/component/tooltip.md | 2 ++
 zh/option/component/tooltip.md | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/en/option/component/tooltip.md b/en/option/component/tooltip.md
index 26b3862..50f400e 100644
--- a/en/option/component/tooltip.md
+++ b/en/option/component/tooltip.md
@@ -70,6 +70,8 @@ Useful when tooltip is cut because of `'overflow: hidden'` set on outer dom of c
 
 ## appendToBody(boolean) = false
 
+> Since 4.7.0
+
 Whether to append the tooltip DOM element as a child of the `<body>` of the HTML page, when using [renderMode](~tooltip.renderMode) `'html'`.
 
 By default `false`, means that the tooltip DOM element will be one of a descendant of its echarts DOM container. But that means that the tooltip might be cut when overflow the container if some of the ancestors DOM element of the echarts container are styled with `overflow: hidden`. This case could also be resolved by setting [tooltip.confine](~tooltip.confine), but it might not suitable for all scenarios.
diff --git a/zh/option/component/tooltip.md b/zh/option/component/tooltip.md
index 18e45ad..83293d6 100644
--- a/zh/option/component/tooltip.md
+++ b/zh/option/component/tooltip.md
@@ -70,6 +70,8 @@
 
 ## appendToBody(boolean) = false
 
+> 从 4.7.0 开始支持。
+
 是否将 tooltip 的 DOM 节点添加为 HTML 的 `<body>` 的子节点。只有当 [renderMode](~tooltip.renderMode) 为 `'html'` 是有意义的。
 
 默认值是 `false`。`false` 表示,tooltip 的 DOM 节点会被添加为本图表的 DOM container 的一个子孙节点。但是这种方式导致,如果本图表的 DOM container 的祖先节点有设置 `overflow: hidden`,那么当 tooltip 超出 container 范围使可能被截断。这个问题一定程度上可以用 [tooltip.confine](~tooltip.confine) 来解决,但是不一定能解决所有场景。


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