vico
vico copied to clipboard
Data Labels for Stacked bar chart have wrong position and value
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.
Expected behavior
The data labels for a single series should have the same position as a Grouped bar chart.
Vico version(s)
Latest unstable version
Android version(s)
SDK 30
Additional information
No response
Hello! Thanks for the report. We’ll look into it.
Vico 2.0.0 Alpha 13 fixes this. Cheers!