This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
The following commit(s) were added to refs/heads/dev by this push:
new 4e56d57f doc(treemap): treemap.cursor apache/echarts#20113
4e56d57f is described below
commit 4e56d57f738277caf3863b9a26d0d0965c273eb0
Author: Ovilia <[email protected]>
AuthorDate: Thu Nov 7 17:43:37 2024 +0800
doc(treemap): treemap.cursor apache/echarts#20113
---
en/option/partial/cursor.md | 8 ++++++++
en/option/series/treemap.md | 4 ++++
zh/option/partial/cursor.md | 8 ++++++++
zh/option/series/treemap.md | 4 ++++
4 files changed, 24 insertions(+)
diff --git a/en/option/partial/cursor.md b/en/option/partial/cursor.md
index e79cf5d4..1defb973 100644
--- a/en/option/partial/cursor.md
+++ b/en/option/partial/cursor.md
@@ -5,5 +5,13 @@
<ExampleUIControlEnum options="auto,pointer,move" default="pointer" />
+{{ if: ${version} }}
+
+{{ use: partial-version(
+ version = ${version}
+) }}
+
+{{ /if }}
+
The mouse style when mouse hovers on an element, the same as `cursor` property
in `CSS`.
diff --git a/en/option/series/treemap.md b/en/option/series/treemap.md
index 8ca384b0..68a28005 100644
--- a/en/option/series/treemap.md
+++ b/en/option/series/treemap.md
@@ -67,6 +67,10 @@ The expected square ratio. Layout would approach the ratio
as close as possible.
It defaults to be the golden ratio: `0.5 * (1 + Math.sqrt(5))`.
+{{ use: partial-cursor(
+ version = "5.5.2"
+) }}
+
## leafDepth(number) = null
<ExampleUIControlNumber min="1" step="1" />
diff --git a/zh/option/partial/cursor.md b/zh/option/partial/cursor.md
index 109f366d..30ea7310 100644
--- a/zh/option/partial/cursor.md
+++ b/zh/option/partial/cursor.md
@@ -5,5 +5,13 @@
<ExampleUIControlEnum options="auto,pointer,move" default="pointer" />
+{{ if: ${version} }}
+
+{{ use: partial-version(
+ version = ${version}
+) }}
+
+{{ /if }}
+
鼠标悬浮时在图形元素上时鼠标的样式是什么。同 CSS 的 `cursor`。
diff --git a/zh/option/series/treemap.md b/zh/option/series/treemap.md
index 8780440b..8525eb2b 100644
--- a/zh/option/series/treemap.md
+++ b/zh/option/series/treemap.md
@@ -220,6 +220,10 @@ const option = {
默认为黄金比:`0.5 * (1 + Math.sqrt(5))`。
+{{ use: partial-cursor(
+ version = "5.5.2"
+) }}
+
## leafDepth(number) = null
<ExampleUIControlNumber min="1" step="1" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]