Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat pictorial bar clip #365

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading