Skip to content

Commit

Permalink
doc(treemap): treemap.cursor apache/echarts#20113
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Nov 7, 2024
1 parent ef2dc2b commit 4e56d57
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions en/option/partial/cursor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

4 changes: 4 additions & 0 deletions en/option/series/treemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down
8 changes: 8 additions & 0 deletions zh/option/partial/cursor.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,13 @@

<ExampleUIControlEnum options="auto,pointer,move" default="pointer" />

{{ if: ${version} }}

{{ use: partial-version(
version = ${version}
) }}

{{ /if }}

鼠标悬浮时在图形元素上时鼠标的样式是什么。同 CSS 的 `cursor`

4 changes: 4 additions & 0 deletions zh/option/series/treemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down

0 comments on commit 4e56d57

Please sign in to comment.