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

Data Labels for Stacked bar chart have wrong position and value #635

Closed
marks-kr opened this issue Mar 27, 2024 · 4 comments
Closed

Data Labels for Stacked bar chart have wrong position and value #635

marks-kr opened this issue Mar 27, 2024 · 4 comments

Comments

@marks-kr
Copy link

marks-kr commented Mar 27, 2024

How to reproduce

Make a bar chart with a single series and a merge mode of Stacked, and data labels set to a position of Top.

I initially saw this problem with a 2-series Stacked bar chart, but found that the labels were the exact same if I replaced them with a single series of their sum.

Attached below is a code snippet that produces the attached graphs with vico 2.0.0 alpha 12
CodeSnippet.txt

Observed behavior

Labels are displayed overlapping the bars, and showing values that do not match the vertical axis.
image

Expected behavior

The data labels for a single series should have the same position as a Grouped bar chart.
image

Vico version(s)

Latest unstable version

Android version(s)

SDK 30

Additional information

No response

@patrickmichalik
Copy link
Member

Hello! Thanks for the report. We’ll look into it.

@patrickmichalik
Copy link
Member

Vico 2.0.0 Alpha 13 fixes this. Cheers!

@patrickmichalik
Copy link
Member

patrickmichalik commented May 31, 2024

Vico 1.15.0 Alpha 1 also addresses this.

@patrickmichalik
Copy link
Member

Vico 1.15.0 is now available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants