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

First and last bar data labels get disappeared in mixed chart when line is configured on left y axis and 2 bars are configured on right y axis. #4756

Open
Krishna-Chidrawar opened this issue Oct 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Krishna-Chidrawar
Copy link

Krishna-Chidrawar commented Oct 10, 2024

Description :

When the mixed chart is configured with line on left y axis and 2 bars or right y axis and when the chart is expanded horizontally the data labels on the bars are getting disappear. The position of data labels ( top , centre , bottom ) doesn't matter here same bug is being reproduced.

Steps to Reproduce

1.Create a Mixed Chart with line configured in left y axis and 2 bars configured in right yaxis.
2.Expand the chart horizontally.
3.When expanded beyond certain limit the first and last bar data label gets disappeared.
4.Link of codepen for demonstration : https://codepen.io/Krishna-Chidrawar-the-reactor/pen/mdNOGRO

Expected Behavior : Data labels should be visible on the first and last bar when expanded horizontally.

Actual Behavior : Data labels are not visible on the first and last bar when expanded horizontally.

Screenshots

Data Labels not visible

Reproduction Link : https://codepen.io/Krishna-Chidrawar-the-reactor/pen/mdNOGRO

@Krishna-Chidrawar Krishna-Chidrawar added the bug Something isn't working label Oct 10, 2024
@rosco54
Copy link
Contributor

rosco54 commented Oct 12, 2024

The codepen link in item 4 doesn't have any data. The link at the bottom didn't show the issue at first because I couldn't use the mouse to zoom until the interact.js section was commented out/removed, and clicking the [+] button to zoom in showed all labels correctly, probably because it only allows me to go one level of zoom for some reason.

Otherwise, yes there is an issue as described.

@Krishna-Chidrawar
Copy link
Author

Drag the chart to left side first and then pull it horizontally by stretching down right corner you will be able to see the labels gets disappear on the first bar.
Thank You.

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

4 participants
@Krishna-Chidrawar @rosco54 and others