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
Stacked Bar Charts Label show wrong value #1992
Comments
You are talking about Stacked Bar Charts but your codesandbox has a Line Chart example... |
Ah, sorry. I thought codesandbox is saving changes automatically. Now it should be working. :-) |
Same issue here... looks like when the bar is stacked, the label is being rendered as the sum of all the values below that item instead of the individual values... |
Here is a workaround:
On codesandbox: |
Reproduction link
Steps to reproduce
Creating a stacked Bar Chart and enable label attribute.
What is expected?
Showing the value of each stacked bar
What is actually happening?
It shows the correct value of the first stacked bar, but it shows the sum of the first value and the value of the second stack in the second one. The same with the third one: it shows the sum of all three bars instead of only one.
The text was updated successfully, but these errors were encountered: