Skip to content
Open
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
23 changes: 22 additions & 1 deletion en/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,28 @@ Settings related to axis line.

Set this to `false` to prevent the axis line from showing.

{{ if: ${componentType} == 'angleAxis' }}
##${prefix} showMinLine(boolean) = true

<ExampleUIControlBoolean />

{{ use: partial-version(
version = "6.1.0"
) }}

Whether to show the axisLine of the min tick boundary on [radiusAxis](~radiusAxis) for [angleAxis](~angleAxis).

##${prefix} showMaxLine(boolean) = true

<ExampleUIControlBoolean />

{{ use: partial-version(
version = "6.1.0"
) }}

Whether to show the axisLine of the max tick boundary on [radiusAxis](~radiusAxis) for [angleAxis](~angleAxis).
{{ /if }}

{{ if: ${componentType} == 'xAxis' || ${componentType} == 'yAxis' }}
> The **value** axis doesn't show the axis line by default since `v5.0.0`, you need to explicitly set `axisLine.show` as `true` to enable it.
{{ /if }}
Expand Down Expand Up @@ -1389,4 +1411,3 @@ Whether to show the tooltip. Defaults to `false`.
{{ target: partial-axis-break-identifier-desc }}

Note: [${componentType}.breaks.start](~${componentType}.breaks.start) and [${componentType}.breaks.end](~${componentType}.breaks.end) are the unique identifiers for each break item. When calling [chart.setOption](api.html#echartsInstance.setOption) to modify [${componentType}.breaks.gap](~${componentType}.breaks.gap) or [${componentType}.breaks.isExpanded](~${componentType}.breaks.isExpanded), `start` and `end` must be specified. Update animations will only occur if `start` and `end` are not modified; no animation will occur if they are changed.

22 changes: 22 additions & 0 deletions zh/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,28 @@ myChart.setOption({

是否显示坐标轴轴线。

{{ if: ${componentType} == 'angleAxis' }}
##${prefix} showMinLine(boolean) = true

<ExampleUIControlBoolean />

{{ use: partial-version(
version = "6.1.0"
) }}

是否显示 [angleAxis](~angleAxis) 对应 [radiusAxis](~radiusAxis) 最小 tick 边界的轴线。

##${prefix} showMaxLine(boolean) = true

<ExampleUIControlBoolean />

{{ use: partial-version(
version = "6.1.0"
) }}

是否显示 [angleAxis](~angleAxis) 对应 [radiusAxis](~radiusAxis) 最大 tick 边界的轴线。
{{ /if }}

{{ if: ${componentType} == 'xAxis' || ${componentType} == 'yAxis' }}
> 从 `v5.0.0` 开始,数值轴 (`type: 'value'`) 默认不显示轴线,需要显式配置。
{{ /if }}
Expand Down