Skip to content

Commit

Permalink
still enable emphasis state for candlestick series by default
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Jul 16, 2024
1 parent 1d83674 commit f468380
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
12 changes: 1 addition & 11 deletions en/option/series/candlestick.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,9 @@ Item style of candlestick.
Emphasis style of candlestick.

{{ use: partial-emphasis-disabled(
prefix = "##",
defaultValue = true
prefix = "##"
) }}

**Note:** The emphasis state is disabled in the candlestick series by default for historical reasons and needs to be explicitly enabled as follows.

```js
emphasis: {
// enable the emphasis state
disabled: false
}
```

{{ use: partial-focus-blur-scope() }}

### itemStyle(Object)
Expand Down
12 changes: 1 addition & 11 deletions zh/option/series/candlestick.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,19 +284,9 @@ K 线图的图形样式。
K 线图的高亮状态。

{{ use: partial-emphasis-disabled(
prefix = "##",
defaultValue = true
prefix = "##"
) }}

**注意:** K 线图由于历史遗留原因,默认关闭,需要如下显式启用。

```js
emphasis: {
// 启用高亮状态
disabled: false
}
```

{{ use: partial-focus-blur-scope() }}

### itemStyle(Object)
Expand Down

0 comments on commit f468380

Please sign in to comment.