You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2023/07/24 02:04:35 UTC

[echarts-doc] branch master updated: fix wrong default value for `yAxis.axisLine.show` & `yAxis.axisTick.show`, resolves apache/echarts#18922

This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b4802fc fix wrong default value for `yAxis.axisLine.show` & `yAxis.axisTick.show`, resolves apache/echarts#18922
9b4802fc is described below

commit 9b4802fc9c0799e6897207c0ac702fc338b322d7
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Mon Jul 24 10:03:22 2023 +0800

    fix wrong default value for `yAxis.axisLine.show` & `yAxis.axisTick.show`, resolves apache/echarts#18922
---
 en/option/component/axis-common.md | 6 ++++--
 en/option/component/y-axis.md      | 4 +++-
 zh/option/component/axis-common.md | 6 ++++--
 zh/option/component/y-axis.md      | 4 +++-
 4 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/en/option/component/axis-common.md b/en/option/component/axis-common.md
index b0ab413d..c13198a8 100644
--- a/en/option/component/axis-common.md
+++ b/en/option/component/axis-common.md
@@ -633,12 +633,14 @@ Base of logarithm, which is valid only for numeric axes with [type](~${component
 
 {{ use: partial-axis-common-axis-line(
     prefix = ${prefix},
-    componentType = ${componentType}
+    componentType = ${componentType},
+    defaultShow = ${defaultShowAxisLine}
 ) }}
 
 {{ use: partial-axis-common-axis-tick(
     prefix = ${prefix},
-    componentType = ${componentType}
+    componentType = ${componentType},
+    defaultShow = ${defaultShowAxisTick}
 ) }}
 
 {{ use: partial-axis-common-minor-tick(
diff --git a/en/option/component/y-axis.md b/en/option/component/y-axis.md
index 90677421..cae6afa1 100644
--- a/en/option/component/y-axis.md
+++ b/en/option/component/y-axis.md
@@ -51,7 +51,9 @@ Notice: Set `yAxis.axisLine.onZero` to `false` to activate this option.
     prefix = '#',
     componentType = 'yAxis',
     axisTypeDefault = "'value'",
-    hasSplitLineAndArea = true
+    hasSplitLineAndArea = true,
+    defaultShowAxisLine = false,
+    defaultShowAxisTick = false
 ) }}
 
 {{ use: partial-z-zlevel(
diff --git a/zh/option/component/axis-common.md b/zh/option/component/axis-common.md
index ce693a02..8139df76 100644
--- a/zh/option/component/axis-common.md
+++ b/zh/option/component/axis-common.md
@@ -630,12 +630,14 @@ max: function (value) {
 
 {{ use: partial-axis-common-axis-line(
     prefix = ${prefix},
-    componentType = ${componentType}
+    componentType = ${componentType},
+    defaultShow = ${defaultShowAxisLine}
 ) }}
 
 {{ use: partial-axis-common-axis-tick(
     prefix = ${prefix},
-    componentType = ${componentType}
+    componentType = ${componentType},
+    defaultShow = ${defaultShowAxisTick}
 ) }}
 
 {{ use: partial-axis-common-minor-tick(
diff --git a/zh/option/component/y-axis.md b/zh/option/component/y-axis.md
index 3530f2b6..5dc3b347 100644
--- a/zh/option/component/y-axis.md
+++ b/zh/option/component/y-axis.md
@@ -134,7 +134,9 @@ Y 轴相对于默认位置的偏移,在相同的 `position` 上有多个 Y 轴
     prefix = '#',
     componentType = 'yAxis',
     axisTypeDefault = "'value'",
-    hasSplitLineAndArea = true
+    hasSplitLineAndArea = true,
+    defaultShowAxisLine = false,
+    defaultShowAxisTick = false
 ) }}
 
 {{ use: partial-z-zlevel(


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org