Skip to content

Commit

Permalink
doc(scatter): add jitter apache/echarts#19941
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed May 17, 2024
1 parent 34f8b9f commit 5b6f4ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions en/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Parameters of the event include:
}
```

#${prefix} jitter(number) = 0

To prevent data points from overlapping in scatter plots, a small amount of random noise is added to the positions of the data points. This helps to visualize the distribution of the data more clearly. It is only applicable to scatter plots and is effective only in single-axis or category axes in Cartesian coordinate systems. The unit is in pixels.

#${prefix} axisLine(Object)

Settings related to axis line.
Expand Down
4 changes: 4 additions & 0 deletions zh/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
}
```

#${prefix} jitter(number) = 0

用于在散点图中防止数据点重叠,通过在数据点的位置上添加少量随机噪音来实现,可以帮助更清晰地可视化数据的分布。仅适用于散点图,且仅在单轴或笛卡尔坐标系下的类目轴中有效。单位是像素。

#${prefix} axisLine(Object)

坐标轴轴线相关设置。
Expand Down

0 comments on commit 5b6f4ec

Please sign in to comment.