Skip to content

[Bug] multiple bar overlap #20999

Open
Open
@Fangtzu1024

Description

@Fangtzu1024

Version

5.4.0

Link to Minimal Reproduction

no

Steps to Reproduce

I want to create a bar chart with the x-axis displaying six dates from 2024/01 to 2024/06. For each date, there will be two bars, A and B, or possibly more. Each bar will consist of two overlapping segments: a wider "plan" segment and a narrower "actual" segment, which makes it easier to compare the differences between "plan" and "actual." The barGap parameter applies uniformly across all bars, so it cannot be configured individually. What other methods can be used to achieve this?

Image

Current Behavior

Using barGap will apply to all bars uniformly.

Expected Behavior

To apply it to specific bars only.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions