Skip to content

Commit

Permalink
fix: discourage using stacked bars/lines with log axes apache/echarts…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Jan 17, 2024
1 parent 0d22eaa commit 0438017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions en/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 1 addition & 2 deletions zh/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,7 @@ splitLine: {
时间轴,适用于连续的时序数据,与数值轴相比时间轴带有时间的格式化,在刻度计算上也有所不同,例如会根据跨度的范围来决定使用月,星期,日还是小时范围的刻度。

+ `'log'`
对数轴。适用于对数数据。

对数轴。适用于对数数据。对数轴下的堆积柱状图或堆积折线图可能带来很大的视觉误差,并且在一定情况下可能存在非预期效果,应避免使用。


{{ target: axis-common }}
Expand Down

0 comments on commit 0438017

Please sign in to comment.