Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(axis): Add showMinLine and showMaxLine to splitLine #411

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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