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

[Bug] stack barchart is wrong when barGapInGroup is not null #3672

Open
xile611 opened this issue Jan 15, 2025 · 0 comments
Open

[Bug] stack barchart is wrong when barGapInGroup is not null #3672

xile611 opened this issue Jan 15, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@xile611
Copy link
Contributor

xile611 commented Jan 15, 2025

Version

1.13.3

Link to Minimal Reproduction

no

Steps to Reproduce

{
      type: "bar",
      data: [
        {
          id: "barData",
          values: [
            {
              publish_month: "202410",
              show_ucnt_result: 267167271,
              type: "未知",
            },
            {
              publish_month: "202410",
              show_ucnt_result: 1050181,
              type: "平台高频老客",
            },
            {
              publish_month: "202410",
              show_ucnt_result: 148579156,
              type: "平台新客",
            },
            {
              publish_month: "202410",
              show_ucnt_result: 37527589,
              type: "平台低频老客",
            },
            {
              publish_month: "202410",
              show_ucnt_result: 146436969,
              type: "平台流失",
            },
            {
              publish_month: "202411",
              show_ucnt_result: 143805687,
              type: "平台流失",
            },
            {
              publish_month: "202411",
              show_ucnt_result: 44703963,
              type: "平台低频老客",
            },
            {
              publish_month: "202411",
              show_ucnt_result: 1538904,
              type: "平台高频老客",
            },
            {
              publish_month: "202411",
              show_ucnt_result: 156469177,
              type: "平台新客",
            },
            {
              publish_month: "202411",
              show_ucnt_result: 269379799,
              type: "未知",
            },
            {
              publish_month: "202412",
              show_ucnt_result: 115606542,
              type: "平台流失",
            },
            {
              publish_month: "202412",
              show_ucnt_result: 231984558,
              type: "未知",
            },
            {
              publish_month: "202412",
              show_ucnt_result: 1245055,
              type: "平台高频老客",
            },
            {
              publish_month: "202412",
              show_ucnt_result: 40347784,
              type: "平台低频老客",
            },
            {
              publish_month: "202412",
              show_ucnt_result: 5093523,
              type: "平台中频老客",
            },
            {
              publish_month: "202412",
              show_ucnt_result: 112105124,
              type: "平台新客",
            },
            {
              publish_month: "20251",
              show_ucnt_result: 171380706,
              type: "未知",
            },
            {
              publish_month: "20251",
              show_ucnt_result: 26210404,
              type: "平台低频老客",
            },
            {
              publish_month: "20251",
              show_ucnt_result: 797491,
              type: "平台高频老客",
            },
            {
              publish_month: "20251",
              show_ucnt_result: 70186273,
              type: "平台新客",
            },
            {
              publish_month: "20251",
              show_ucnt_result: 3300649,
              type: "平台中频老客",
            },
            {
              publish_month: "20251",
              show_ucnt_result: 77658533,
              type: "平台流失",
            },
          ],
        },
      ],
      xField: ["publish_month"],
      yField: ["show_ucnt_result"],
      seriesField: "type",
      barMinHeight: 5,
      barGapInGroup: 4,
      stack: true,
    }

Current Behavior

image

Expected Behavior

image

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@xile611 xile611 added the bug Something isn't working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants