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

ovilia 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 04380176 fix: discourage using stacked bars/lines with log axes 
apache/echarts#19234
04380176 is described below

commit 04380176ebad73f540d261715036542cda7163f4
Author: Ovilia <zwl.s...@gmail.com>
AuthorDate: Wed Jan 17 16:02:58 2024 +0800

    fix: discourage using stacked bars/lines with log axes apache/echarts#19234
---
 en/option/component/axis-common.md | 3 +--
 zh/option/component/axis-common.md | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/en/option/component/axis-common.md 
b/en/option/component/axis-common.md
index cce56315..6faaf9ff 100644
--- a/en/option/component/axis-common.md
+++ b/en/option/component/axis-common.md
@@ -450,8 +450,7 @@ Option:
     Time axis, suitable for continuous time series data. As compared to value 
axis, it has a better formatting for time and a different tick calculation 
method. For example, it decides to use month, week, day or hour for tick based 
on the range of span.
 
 + `'log'`
-    Log axis, suitable for log data.
-
+    Log axis, suitable for log data. Stacked bar or line series with `type: 
'log'` axes may lead to significant visual errors and may have unintended 
effects in certain circumstances. Their use should be avoided.
 
 
 {{ target: axis-common }}
diff --git a/zh/option/component/axis-common.md 
b/zh/option/component/axis-common.md
index 7c4d8c09..92053155 100644
--- a/zh/option/component/axis-common.md
+++ b/zh/option/component/axis-common.md
@@ -446,8 +446,7 @@ splitLine: {
     
时间轴,适用于连续的时序数据,与数值轴相比时间轴带有时间的格式化,在刻度计算上也有所不同,例如会根据跨度的范围来决定使用月,星期,日还是小时范围的刻度。
 
 + `'log'`
-    对数轴。适用于对数数据。
-
+    对数轴。适用于对数数据。对数轴下的堆积柱状图或堆积折线图可能带来很大的视觉误差,并且在一定情况下可能存在非预期效果,应避免使用。
 
 
 {{ target: axis-common }}


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

Reply via email to