Skip to content

Bar chart - datalabels misaligned when using multiple y-axis #4558

@chedighribi

Description

@chedighribi

Description
The data labels of the second bar are shifted to the right, making them misaligned and not centered within the bars.

Steps to Reproduce
Create a bar chart with two series.
Enable opposite: true for the second bar.
Hover over the bars to see the misalignment of the data labels.

Expected Behavior
The data labels should be centered on the bars.

Actual Behavior
The data labels are shifted to the left.

Screenshots
Screenshot 2024-07-08 at 16 55 29

Reproduction Link
https://codepen.io/chedighribi/pen/poXoLJq

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions