Skip to content

Commit

Permalink
Merge pull request #411 from adaelixir/feature-#20114
Browse files Browse the repository at this point in the history
feature(axis): Add showMinLine and showMaxLine to splitLine
  • Loading branch information
plainheart authored Jul 23, 2024
2 parents 95e2d75 + 9bb5fd3 commit 5bd7ee0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions en/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,18 @@ Split line of axis in [grid](~grid) area.
Set this to `false` to prevent the splitLine from showing.
`value` type axes are shown by default, while `category` type axes are hidden.

##${prefix} showMinLine(boolean) = null

<ExampleUIControlBoolean />

Whether to show the line of the min tick. Optional values: `true`, `false`. Default is true.

##${prefix} showMaxLabel(boolean) = null

<ExampleUIControlBoolean />

Whether to show the line of the max tick. Optional values: `true`, `false`. Default is true.

{{ if: ${hasLabelInterval|default(true)} }}
##${prefix} interval(number|Function) = 'auto'

Expand Down
12 changes: 12 additions & 0 deletions zh/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,18 @@ axisTick: {

是否显示分隔线。默认数值轴显示,类目轴不显示。

##${prefix} showMinLine(boolean)

<ExampleUIControlBoolean />

是否显示最小 tick 的 分隔线。可取值 `true`, `false`。默认为 true。

##${prefix} showMaxLine(boolean)

<ExampleUIControlBoolean />

是否显示最大 tick 的 分隔线。可取值 `true`, `false`。默认为 true。

{{ if: ${hasLabelInterval|default(true)} }}
##${prefix} interval(number|Function) = 'auto'

Expand Down

0 comments on commit 5bd7ee0

Please sign in to comment.