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

Stacked 100% Bar Shows original data as percentage numbers #4600

Closed
kn327 opened this issue Jul 31, 2024 · 3 comments · Fixed by Plant-for-the-Planet-org/planet-webapp#2243 · 4 remaining pull requests
Closed

Stacked 100% Bar Shows original data as percentage numbers #4600

kn327 opened this issue Jul 31, 2024 · 3 comments · Fixed by Plant-for-the-Planet-org/planet-webapp#2243 · 4 remaining pull requests
Labels
bug Something isn't working

Comments

@kn327
Copy link

kn327 commented Jul 31, 2024

Description

This appears to be a regression bug. Previously, when values were provided, the 100% stacked bar chart would show the label as the percentage and the label as the actual data value

In version 3.23.1, the actual data values are showing as percentages

Steps to Reproduce

  1. Create a 100% stacked bar chart
  2. Fill with data for two or more series
  3. Render on page

Expected Behavior

Labels on the bar chart show the actual percentage, tooltip when hovering shows the actual data value

Actual Behavior

Labels on the bar chart show the actual data value plus a percentage sign

Screenshots

image

Reproduction Link

https://codepen.io/Kom-/pen/yLdgdoW

@kn327 kn327 added the bug Something isn't working label Jul 31, 2024
@cynde
Copy link

cynde commented Jul 31, 2024

how to fix this? because i have the same problem

@junedchhipa
Copy link
Contributor

The issue has been fixed on the main branch. Please wait for the next release (which is coming in 4-5 days)

@cynde
Copy link

cynde commented Jul 31, 2024

okay! thank you

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