Skip to content

Commit

Permalink
feat(pictorialBar): add doc for clip
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Oct 12, 2023
1 parent 7542222 commit 9234374
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion en/option/partial/clip.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ If clip the overflow on the coordinate system. Clip results varies between serie
+ Line:Clip the overflowed line.
+ Lines: Clip all the overflowed.
+ Candlestick: Ignore the elements exceeds the coordinate system.
+ PictorialBar: Clip all the overflowed. (Supported since v5.5.0)
+ Custom: Clip all the olverflowed.

All these series have default value `true` except custom series. Set it to `false` if you don't want to clip.
All these series have default value `true` except pictorialBar and custom series. Set it to `false` if you don't want to clip.

5 changes: 5 additions & 0 deletions en/option/series/pictorialBar.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@ Select state of the specified single data.
hasType = true
) }}

{{ use: partial-clip(
prefix = "#",
defaultClip = false
) }}

{{ use: partial-z-zlevel(
prefix = "#",
componentName = "Pictorial bar chart "
Expand Down
3 changes: 2 additions & 1 deletion zh/option/partial/clip.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
+ 折线图:裁掉所有超出坐标系的折线部分,拐点图形的逻辑按照散点图处理
+ 路径图:裁掉所有超出坐标系的部分
+ K 线图:忽略整体都超出坐标系的图形,但是不裁剪单个图形
+ 象形柱图:裁掉所有超出坐标系的部分(从 v5.5.0 开始支持)
+ 自定义系列:裁掉所有超出坐标系的部分

除了自定义系列,其它系列的默认值都为 true,及开启裁剪,如果你觉得不想要裁剪的话,可以设置成 false 关闭。
除了象形柱图和自定义系列,其它系列的默认值都为 true,及开启裁剪,如果你觉得不想要裁剪的话,可以设置成 false 关闭。

5 changes: 5 additions & 0 deletions zh/option/series/pictorialBar.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,11 @@ option = {
hasType = true
) }}

{{ use: partial-clip(
prefix = "#",
defaultClip = false
) }}

{{ use: partial-z-zlevel(
prefix = "#",
componentName = "象形柱图"
Expand Down

0 comments on commit 9234374

Please sign in to comment.