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(options): Intent to ship data.groupsZeroAs #2818

Merged
merged 1 commit into from
Aug 11, 2022

Conversation

netil
Copy link
Member

@netil netil commented Aug 11, 2022

Issue

#2813

Details

Implement the way to specify how zero value is treated on groups

Possible values:

  • zero: 0 will be positioned at absolute axis zero point.
  • positive: 0 will be positioned at the top of a stack.
  • negative: 0 will be positioned at the bottom of a stack.
data: {
  columns: [
    ["data1", -11, -11, -11, -11],
    ["data2", 4, 4, 4, 4],
    ["data3", 0, 1, 0, -1]
  ],
  type: "area",
  order: null,
  groups: [
    ["data1", "data2", "data3"]
  ],
  groupsZeroAs: "positive"
}

image

Implement the way to specify how zero value is treated on groups

Ref naver#2813
@netil netil added the feature label Aug 11, 2022
@netil netil self-assigned this Aug 11, 2022
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 90.523% when pulling b81c7dd on netil:groupsZero#2813 into e7bdbbc on naver:master.

@netil netil merged commit 3de8e7a into naver:master Aug 11, 2022
@netil netil deleted the groupsZero#2813 branch September 8, 2023 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants